Double check ARB_bindless_texture.

May help #342.
This commit is contained in:
Ben Vanik 2015-07-13 16:34:00 -07:00
parent 15c17459be
commit c6ebcd508d

View File

@ -243,7 +243,7 @@ void GLContext::AssertExtensionsPresent() {
glsl_version_raw);
}
if (!GLEW_ARB_bindless_texture) {
if (!GLEW_ARB_bindless_texture || !glMakeTextureHandleResidentARB) {
FatalGLError("OpenGL extension ARB_bindless_texture is required.");
return;
}