GLSL also depends on OpenGL 2.0, so we check for that too.

git-svn-id: svn://svn.code.sf.net/p/stella/code/trunk@1811 8b62c5a3-ac7e-4cc8-8f21-d9a121418aba
This commit is contained in:
stephena 2009-06-20 18:02:57 +00:00
parent 02cbcbd1ea
commit f3aaf17021
1 changed files with 1 additions and 1 deletions

View File

@ -359,7 +359,7 @@ bool FrameBufferGL::setVidMode(VideoMode& mode)
myGLVersion = atof(version.substr(0, 3).c_str());
// TV effects depend on the GLSL functions being available
myGLSLAvailable = loadFuncs(kGL_SHADER);
myGLSLAvailable = myGLVersion >= 2.0 && loadFuncs(kGL_SHADER);
}
else
return false;