gl_cg_invalidate_context.

This commit is contained in:
Themaister 2012-02-22 20:45:58 +01:00
parent 678269039b
commit a13684c80c
2 changed files with 6 additions and 0 deletions

View File

@ -1306,3 +1306,8 @@ bool gl_cg_save_cgp(const char *path, const struct gl_cg_cgp_info *info)
return true;
}
void gl_cg_invalidate_context(void)
{
cgCtx = NULL;
}

View File

@ -68,5 +68,6 @@ struct gl_cg_cgp_info
};
bool gl_cg_save_cgp(const char *path, const struct gl_cg_cgp_info *info);
void gl_cg_invalidate_context(void); // Call when resetting GL context on PS3.
#endif