Skip to content

Commit a768d90

Browse files
authored
Update entry_points_gles_2_0_autogen.cpp
1 parent 0fa9092 commit a768d90

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/libGLESv2/entry_points_gles_2_0_autogen.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4536,7 +4536,7 @@ static bool TryConvertGLSL(const Context *context,
45364536
return false;
45374537

45384538
GLint shaderTypeGL = 0;
4539-
context->getShaderiv(shaderPacked, GL_SHADER_TYPE, &shaderTypeGL);
4539+
context->getShaderiv(shaderPacked, PackParam<ShaderParameter>(GL_SHADER_TYPE), &shaderTypeGL);
45404540
shaderc_shader_kind kind;
45414541
switch (shaderTypeGL)
45424542
{

0 commit comments

Comments
 (0)