Commit a4fd2a6b authored by Thomas Guillem's avatar Thomas Guillem
Browse files

gl: fix SIGSEGV on gles2 with 10 bits

parent 167a48e4
......@@ -51,6 +51,9 @@
static int GetTexFormatSize(opengl_tex_converter_t *tc, int target,
int tex_format, int tex_internal, int tex_type)
if (!tc->vt->GetTexLevelParameteriv)
return -1;
GLint tex_param_size;
switch (tex_format)
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment