Added an option for specifying language specification in preparation for supporting WebGL in addition to GLES2. This CL just replaces unused debugOptions variable with EShSpec variable.
BUG=11
Review URL: http://codereview.appspot.com/1692051
git-svn-id: https://angleproject.googlecode.com/svn/trunk@344 736b8ea6-26fd-11df-bfd4-992fa37f6226
diff --git a/src/compiler/TranslatorGLSL.cpp b/src/compiler/TranslatorGLSL.cpp
index 6149d72..7b8d903 100644
--- a/src/compiler/TranslatorGLSL.cpp
+++ b/src/compiler/TranslatorGLSL.cpp
@@ -8,9 +8,8 @@
#include "compiler/OutputGLSL.h"
-TranslatorGLSL::TranslatorGLSL(EShLanguage l, int dOptions)
- : TCompiler(l),
- debugOptions(dOptions) {
+TranslatorGLSL::TranslatorGLSL(EShLanguage lang, EShSpec spec)
+ : TCompiler(lang, spec) {
}
bool TranslatorGLSL::compile(TIntermNode* root) {