mirror of https://github.com/stella-emu/stella.git
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:
parent
02cbcbd1ea
commit
f3aaf17021
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue