mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-11-18 20:04:31 +01:00
Merge pull request #140 from DanyalZia/patch-4
Update native (ATIClampBug)
This commit is contained in:
commit
7df1ef32ce
2 files changed
+2
No files matched your search
@@ -185,6 +185,7 @@ void CheckGLExtensions() {
|
||||
gl_extensions.FBO_ARB = strstr(extString, "GL_ARB_framebuffer_object") != 0;
|
||||
gl_extensions.FBO_EXT = strstr(extString, "GL_EXT_framebuffer_object") != 0;
|
||||
gl_extensions.PBO_ARB = strstr(extString, "GL_ARB_pixel_buffer_object") != 0;
|
||||
gl_extensions.ATIClampBug = ((strncmp ((char *)glGetString(GL_RENDERER), "ATI RADEON X", 12) != 0) || (strncmp ((char *)glGetString(GL_RENDERER), "ATI MOBILITY RADEON X",21) != 0));
|
||||
}
|
||||
#endif
|
||||
}
|
||||
|
||||
@@ -304,6 +304,7 @@ struct GLExtensions {
|
||||
bool OES_mapbuffer;
|
||||
bool OES_vertex_array_object;
|
||||
bool EXT_shader_framebuffer_fetch;
|
||||
bool ATIClampBug;
|
||||
|
||||
// EGL extensions
|
||||
|
||||
|
||||
Reference in new issue
Block a user