mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-10-11 05:26:24 +02:00
Merge pull request #11335 from AreaScout/eglinfo
Add: EGL info for GLES on Linux
This commit is contained in:
1 file changed
+9
@@ -418,6 +418,15 @@ void CheckGLExtensions() {
|
||||
} else {
|
||||
g_all_egl_extensions = "";
|
||||
}
|
||||
#elif defined(USING_GLES2) && defined(__linux__)
|
||||
const char *eglString = eglQueryString(NULL, EGL_EXTENSIONS);
|
||||
if (eglString) {
|
||||
g_all_egl_extensions = std::string(eglString);
|
||||
g_all_egl_extensions.append(" ");
|
||||
g_all_egl_extensions.append(eglQueryString(eglGetCurrentDisplay(), EGL_EXTENSIONS));
|
||||
} else {
|
||||
g_all_egl_extensions = "";
|
||||
}
|
||||
#endif
|
||||
|
||||
glGetIntegerv(GL_MAX_VERTEX_TEXTURE_IMAGE_UNITS, &gl_extensions.maxVertexTextureUnits);
|
||||
|
||||
Reference in new issue
Block a user