diff --git a/gfx_es2/gl_state.cpp b/gfx_es2/gl_state.cpp index 63c642f85e..e311f52edd 100644 --- a/gfx_es2/gl_state.cpp +++ b/gfx_es2/gl_state.cpp @@ -219,7 +219,8 @@ void CheckGLExtensions() { gl_extensions.OES_depth_texture = strstr(extString, "GL_OES_depth_texture") != 0; gl_extensions.OES_mapbuffer = strstr(extString, "GL_OES_mapbuffer") != 0; gl_extensions.EXT_blend_minmax = strstr(extString, "GL_EXT_blend_minmax") != 0; - gl_extensions.EXT_shader_framebuffer_fetch = (strstr(extString, "GL_EXT_shader_framebuffer_fetch") != 0) || (strstr(extString, "GL_NV_shader_framebuffer_fetch") != 0); + gl_extensions.EXT_shader_framebuffer_fetch = strstr(extString, "GL_EXT_shader_framebuffer_fetch") != 0; + gl_extensions.NV_shader_framebuffer_fetch = strstr(extString, "GL_NV_shader_framebuffer_fetch") != 0; gl_extensions.NV_copy_image = strstr(extString, "GL_NV_copy_image") != 0; gl_extensions.EXT_unpack_subimage = strstr(extString, "GL_EXT_unpack_subimage") != 0; #if defined(ANDROID) || defined(BLACKBERRY) diff --git a/gfx_es2/gpu_features.h b/gfx_es2/gpu_features.h index ab17ec2f17..07127567c9 100644 --- a/gfx_es2/gpu_features.h +++ b/gfx_es2/gpu_features.h @@ -42,6 +42,7 @@ struct GLExtensions { bool EXT_swap_control_tear; bool OES_mapbuffer; bool OES_vertex_array_object; + bool NV_shader_framebuffer_fetch; bool EXT_shader_framebuffer_fetch; bool EXT_blend_minmax; bool NV_draw_texture;