mirror of
https://github.com/hrydgard/ppsspp.git
synced 2025-04-02 11:01:50 -04:00
Add supports floating-point-texture into GL extensions.
This commit is contained in:
parent
052660bc8c
commit
d6fe5d4ba0
2 changed files with 4 additions and 0 deletions
|
@ -266,6 +266,7 @@ void CheckGLExtensions() {
|
|||
gl_extensions.EXT_copy_image = strstr(extString, "GL_EXT_copy_image") != 0;
|
||||
gl_extensions.ARB_copy_image = strstr(extString, "GL_ARB_copy_image") != 0;
|
||||
gl_extensions.ARB_vertex_array_object = strstr(extString, "GL_ARB_vertex_array_object") != 0;
|
||||
gl_extensions.ARB_texture_float = strstr(extString, "GL_ARB_texture_float") != 0;
|
||||
|
||||
if (gl_extensions.IsGLES) {
|
||||
gl_extensions.OES_texture_npot = strstr(extString, "OES_texture_npot") != 0;
|
||||
|
@ -278,6 +279,7 @@ void CheckGLExtensions() {
|
|||
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.ARM_shader_framebuffer_fetch = strstr(extString, "GL_ARM_shader_framebuffer_fetch") != 0;
|
||||
gl_extensions.OES_texture_float = strstr(extString, "OES_texture_float") != 0;
|
||||
|
||||
#if defined(__ANDROID__)
|
||||
// On Android, incredibly, this is not consistently non-zero! It does seem to have the same value though.
|
||||
|
|
|
@ -47,6 +47,7 @@ struct GLExtensions {
|
|||
bool OES_mapbuffer;
|
||||
bool OES_vertex_array_object;
|
||||
bool OES_copy_image;
|
||||
bool OES_texture_float;
|
||||
|
||||
// ARB
|
||||
bool ARB_framebuffer_object;
|
||||
|
@ -57,6 +58,7 @@ struct GLExtensions {
|
|||
bool ARB_conservative_depth;
|
||||
bool ARB_copy_image;
|
||||
bool ARB_vertex_array_object;
|
||||
bool ARB_texture_float;
|
||||
|
||||
// EXT
|
||||
bool EXT_swap_control_tear;
|
||||
|
|
Loading…
Add table
Reference in a new issue