Revert "AMD people: have at it. I ain't gonna guarantee it'll work, though."
This reverts commit 8c0614b202.
Recent changes to generated shaders require GLSL 4.50.
This commit is contained in:
@@ -287,8 +287,8 @@ void GLContext::AssertExtensionsPresent() {
|
||||
reinterpret_cast<const char*>(glGetString(GL_SHADING_LANGUAGE_VERSION));
|
||||
std::string glsl_version(glsl_version_raw);
|
||||
if (glsl_version.find("4.50") != 0) {
|
||||
XELOGW("GLSL version reported as %s; you may have a bad time!",
|
||||
glsl_version_raw);
|
||||
FatalGLError("OpenGL GLSL version 4.50 is required.");
|
||||
return;
|
||||
}
|
||||
|
||||
if (!GLEW_ARB_bindless_texture || !glMakeTextureHandleResidentARB) {
|
||||
|
||||
Reference in New Issue
Block a user