mirror of
https://github.com/baldurk/renderdoc.git
synced 2026-07-20 22:41:36 +00:00
Advertise EGL extensions via gl ext string
Advertised EGL extensions: * EGL_KHR_create_context * EGL_KHR_surfaceless_context
This commit is contained in:
committed by
Baldur Karlsson
parent
a8840c6728
commit
681aeba443
@@ -816,6 +816,11 @@ void WrappedOpenGL::BuildGLESExtensions()
|
||||
m_GLESExtensions.push_back("GL_OES_vertex_array_object");
|
||||
m_GLESExtensions.push_back("GL_OES_vertex_half_float");
|
||||
|
||||
// advertise EGL extensions in the gl ext string, just in case anyone is checking it for
|
||||
// this way.
|
||||
m_GLESExtensions.push_back("EGL_KHR_create_context");
|
||||
m_GLESExtensions.push_back("EGL_KHR_surfaceless_context");
|
||||
|
||||
// we'll be sorting the implementation extension array, so make sure the
|
||||
// sorts are identical so we can do the intersection easily
|
||||
std::sort(m_GLESExtensions.begin(), m_GLESExtensions.end());
|
||||
|
||||
Reference in New Issue
Block a user