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:
parent
b696c645f5
commit
1520869a82
|
@ -287,8 +287,8 @@ void GLContext::AssertExtensionsPresent() {
|
||||||
reinterpret_cast<const char*>(glGetString(GL_SHADING_LANGUAGE_VERSION));
|
reinterpret_cast<const char*>(glGetString(GL_SHADING_LANGUAGE_VERSION));
|
||||||
std::string glsl_version(glsl_version_raw);
|
std::string glsl_version(glsl_version_raw);
|
||||||
if (glsl_version.find("4.50") != 0) {
|
if (glsl_version.find("4.50") != 0) {
|
||||||
XELOGW("GLSL version reported as %s; you may have a bad time!",
|
FatalGLError("OpenGL GLSL version 4.50 is required.");
|
||||||
glsl_version_raw);
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (!GLEW_ARB_bindless_texture || !glMakeTextureHandleResidentARB) {
|
if (!GLEW_ARB_bindless_texture || !glMakeTextureHandleResidentARB) {
|
||||||
|
|
Loading…
Reference in New Issue