mirror of
https://github.com/glfw/glfw.git
synced 2024-11-10 09:01:46 +00:00
Removed references to GLX in EGL port.
This commit is contained in:
parent
edd554c115
commit
bddc95c017
@ -248,7 +248,7 @@ static int createContext(_GLFWwindow* window,
|
|||||||
if (window->EGL.visual == NULL)
|
if (window->EGL.visual == NULL)
|
||||||
{
|
{
|
||||||
_glfwSetError(GLFW_PLATFORM_ERROR,
|
_glfwSetError(GLFW_PLATFORM_ERROR,
|
||||||
"X11/GLX: Failed to retrieve visual for EGLConfig");
|
"X11/EGL: Failed to retrieve visual for EGLConfig");
|
||||||
return GL_FALSE;
|
return GL_FALSE;
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -551,7 +551,6 @@ int _glfwPlatformExtensionSupported(const char* extension)
|
|||||||
{
|
{
|
||||||
const char* extensions;
|
const char* extensions;
|
||||||
|
|
||||||
// Get list of GLX extensions
|
|
||||||
extensions = eglQueryString(_glfwLibrary.EGL.display, EGL_EXTENSIONS);
|
extensions = eglQueryString(_glfwLibrary.EGL.display, EGL_EXTENSIONS);
|
||||||
if (extensions != NULL)
|
if (extensions != NULL)
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user