(GLSL) Increase attrib array size

This commit is contained in:
twinaphex 2016-04-22 15:22:27 +02:00
parent bfcfb40a7b
commit ce077533c2

View File

@ -136,7 +136,7 @@ typedef struct glsl_shader_data
unsigned glsl_active_index; unsigned glsl_active_index;
struct struct
{ {
GLint elems[PREV_TEXTURES + 2 + 4 + GFX_MAX_SHADERS]; GLint elems[32 * PREV_TEXTURES + 2 + 4 + GFX_MAX_SHADERS];
unsigned index; unsigned index;
} attribs; } attribs;