mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-10-08 20:16:27 +02:00
Detect NV_shader_framebuffer_fetch and the EXT extension separately.
This commit is contained in:
1 parent
daf2595eb0
commit
551564b2ea
2 files changed
+3
-1
No files matched your search
@@ -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)
|
||||
|
||||
@@ -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;
|
||||
|
||||
Reference in new issue
Block a user