summaryrefslogtreecommitdiffstats
path: root/gpu/command_buffer/service/shader_translator.h
diff options
context:
space:
mode:
Diffstat (limited to 'gpu/command_buffer/service/shader_translator.h')
-rw-r--r--gpu/command_buffer/service/shader_translator.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/gpu/command_buffer/service/shader_translator.h b/gpu/command_buffer/service/shader_translator.h
index 26e8dc6..e2e0620 100644
--- a/gpu/command_buffer/service/shader_translator.h
+++ b/gpu/command_buffer/service/shader_translator.h
@@ -23,7 +23,7 @@ class ShaderTranslator {
// Initializes the translator.
// Must be called once before using the translator object.
- bool Init(EShLanguage language, const TBuiltInResource* resources);
+ bool Init(ShShaderType shader_type, const ShBuiltInResources* resources);
// Translates the given shader source.
// Returns true if translation is successful, false otherwise.
bool Translate(const char* shader);