From 31166cc4a9a8f3d16ecb4e96e02adec3a5a01595 Mon Sep 17 00:00:00 2001 From: wolfbeast Date: Wed, 11 Jul 2018 23:02:26 +0200 Subject: Switch from ShCompileOptions to int. --- dom/canvas/WebGLShaderValidator.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'dom/canvas/WebGLShaderValidator.h') 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) -- cgit v1.2.3