Call glReleaseShaderCompiler on GLES

This commit is contained in:
Jonas Kulla 2014-12-23 19:23:08 +01:00
parent 3fb4108306
commit ee17bb2137
3 changed files with 16 additions and 0 deletions

View file

@ -111,6 +111,10 @@ struct SharedStatePrivate
fontState(threadData->config),
stampCounter(0)
{
/* Shaders have been compiled in ShaderSet's constructor */
if (gl.ReleaseShaderCompiler)
gl.ReleaseShaderCompiler();
// FIXME find out correct archive filename
std::string archPath = defGameArchive();