From 34834d802f82abb3b6f133a5db7cd1158a6f4187 Mon Sep 17 00:00:00 2001 From: baldurk Date: Tue, 17 Jan 2017 16:55:38 +0000 Subject: [PATCH] Check for texture storage extension in vendor check --- renderdoc/driver/gl/gl_common.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/renderdoc/driver/gl/gl_common.cpp b/renderdoc/driver/gl/gl_common.cpp index 3cea6c4f8..29692154b 100644 --- a/renderdoc/driver/gl/gl_common.cpp +++ b/renderdoc/driver/gl/gl_common.cpp @@ -469,7 +469,7 @@ void DoVendorChecks(const GLHookSet &gl, GLWindowingData context) // AMD throws an error if we try to copy the mips that are smaller than 4x4, if(gl.glGetError && gl.glGenTextures && gl.glBindTexture && gl.glCopyImageSubData && gl.glTexStorage2D && gl.glTexSubImage2D && gl.glTexParameteri && gl.glDeleteTextures && - (GLCoreVersion >= 43 || HasExt[ARB_copy_image])) + (GLCoreVersion >= 43 || HasExt[ARB_copy_image]) && HasExt[ARB_texture_storage]) { GLuint texs[2]; gl.glGenTextures(2, texs);