summaryrefslogtreecommitdiffstats
path: root/dom/canvas/WebGLShaderValidator.h
diff options
context:
space:
mode:
authorwolfbeast <mcwerewolf@gmail.com>2018-07-11 23:02:26 +0200
committerwolfbeast <mcwerewolf@gmail.com>2018-07-11 23:02:26 +0200
commit31166cc4a9a8f3d16ecb4e96e02adec3a5a01595 (patch)
treed29968c637fd62e2d00bf4205611071d20ef971c /dom/canvas/WebGLShaderValidator.h
parentfb0b7cdb5097fb91fc0041a7d7b44ecb637a847a (diff)
downloadUXP-31166cc4a9a8f3d16ecb4e96e02adec3a5a01595.tar
UXP-31166cc4a9a8f3d16ecb4e96e02adec3a5a01595.tar.gz
UXP-31166cc4a9a8f3d16ecb4e96e02adec3a5a01595.tar.lz
UXP-31166cc4a9a8f3d16ecb4e96e02adec3a5a01595.tar.xz
UXP-31166cc4a9a8f3d16ecb4e96e02adec3a5a01595.zip
Switch from ShCompileOptions to int.
Diffstat (limited to 'dom/canvas/WebGLShaderValidator.h')
-rw-r--r--dom/canvas/WebGLShaderValidator.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/dom/canvas/WebGLShaderValidator.h b/dom/canvas/WebGLShaderValidator.h
index deb1c7c7f..ba50def28 100644
--- a/dom/canvas/WebGLShaderValidator.h
+++ b/dom/canvas/WebGLShaderValidator.h
@@ -17,7 +17,7 @@ namespace webgl {
class ShaderValidator final
{
const ShHandle mHandle;
- const ShCompileOptions mCompileOptions;
+ const int mCompileOptions;
const int mMaxVaryingVectors;
bool mHasRun;
@@ -25,10 +25,10 @@ public:
static ShaderValidator* Create(GLenum shaderType, ShShaderSpec spec,
ShShaderOutput outputLanguage,
const ShBuiltInResources& resources,
- ShCompileOptions compileOptions);
+ int compileOptions);
private:
- ShaderValidator(ShHandle handle, ShCompileOptions compileOptions,
+ ShaderValidator(ShHandle handle, int compileOptions,
int maxVaryingVectors)
: mHandle(handle)
, mCompileOptions(compileOptions)