switch to glsl 130, more than OpenGL 3.1 isn't needed

This commit is contained in:
degasus
2012-12-28 16:05:14 +01:00
parent 70c63ce6cf
commit 48ede4dd30
5 changed files with 13 additions and 7 deletions

View File

@ -850,7 +850,7 @@ const char *GenerateEncodingShader(u32 format,API_TYPE ApiType)
// A few required defines and ones that will make our lives a lot easier
if (g_ActiveConfig.backend_info.bSupportsGLSLBinding || g_ActiveConfig.backend_info.bSupportsGLSLUBO)
{
WRITE(p, "#version 330 compatibility\n");
WRITE(p, "#version 130\n");
if (g_ActiveConfig.backend_info.bSupportsGLSLBinding)
WRITE(p, "#extension GL_ARB_shading_language_420pack : enable\n");
if (g_ActiveConfig.backend_info.bSupportsGLSLUBO)