mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-10-05 10:36:17 +02:00
Move some GLES checks to runtime.
This commit is contained in:
1 parent
9baedbcc2a
commit
8487e56b42
5 files changed
+201
-197
No files matched your search
@@ -342,11 +342,11 @@ public:
|
||||
// TODO: Make these actually query the right information
|
||||
switch (info) {
|
||||
case APINAME:
|
||||
#ifdef USING_GLES2
|
||||
return "OpenGL ES";
|
||||
#else
|
||||
return "OpenGL";
|
||||
#endif
|
||||
if (gl_extensions.IsGLES) {
|
||||
return "OpenGL ES";
|
||||
} else {
|
||||
return "OpenGL";
|
||||
}
|
||||
case VENDORSTRING: return (const char *)glGetString(GL_VENDOR);
|
||||
case VENDOR:
|
||||
switch (gl_extensions.gpuVendor) {
|
||||
|
||||
Reference in new issue
Block a user