(Cg) Call gl_cg_reset_attribs before initializing Cg shader backend

This commit is contained in:
twinaphex 2016-04-25 12:22:55 +02:00
parent 01a9185a2d
commit d4184df592

View File

@ -1166,6 +1166,8 @@ static void *gl_cg_init(void *data, const char *path)
&cg_data->prg[VIDEO_SHADER_MENU_SEC],
&shader_prog_info);
gl_cg_reset_attrib(cg_data);
return cg_data;
error: