(Cg) Make cg_attribs bigger - would lead to overflows when sending

XMB ribbon to it
This commit is contained in:
twinaphex 2016-04-22 13:27:50 +02:00
parent 1e2917a78c
commit f3f6e6ff70

View File

@ -106,7 +106,7 @@ typedef struct cg_shader_data
struct video_shader *shader;
state_tracker_t *state_tracker;
GLuint lut_textures[GFX_MAX_TEXTURES];
CGparameter cg_attribs[PREV_TEXTURES + 2 + 4 + GFX_MAX_SHADERS];
CGparameter cg_attribs[32 * PREV_TEXTURES + 2 + 4 + GFX_MAX_SHADERS];
char cg_alias_define[GFX_MAX_SHADERS][128];
CGcontext cgCtx;
} cg_shader_data_t;