@ -121,9 +121,11 @@ int _glfwPlatformCreateWindow(_GLFWwindow* window,
if ( ! _glfwCreateContextOSMesa ( window , ctxconfig , fbconfig ) )
if ( ! _glfwCreateContextOSMesa ( window , ctxconfig , fbconfig ) )
return GLFW_FALSE ;
return GLFW_FALSE ;
}
}
else
else if ( ctxconfig - > source = = GLFW_EGL_CONTEXT_API )
{
{
_glfwInputError ( GLFW_API_UNAVAILABLE , " Null: EGL not available " ) ;
if ( ! _glfwInitEGL ( ) )
return GLFW_FALSE ;
if ( ! _glfwCreateContextEGL ( window , ctxconfig , fbconfig ) )
return GLFW_FALSE ;
return GLFW_FALSE ;
}
}
}
}
@ -522,6 +524,21 @@ const char* _glfwPlatformGetClipboardString(void)
return _glfw . null . clipboardString ;
return _glfw . null . clipboardString ;
}
}
EGLenum _glfwPlatformGetEGLPlatform ( EGLint * * attribs )
{
return 0 ;
}
EGLNativeDisplayType _glfwPlatformGetEGLNativeDisplay ( void )
{
return 0 ;
}
EGLNativeWindowType _glfwPlatformGetEGLNativeWindow ( _GLFWwindow * window )
{
return 0 ;
}
const char * _glfwPlatformGetScancodeName ( int scancode )
const char * _glfwPlatformGetScancodeName ( int scancode )
{
{
if ( scancode < GLFW_KEY_SPACE | | scancode > GLFW_KEY_LAST )
if ( scancode < GLFW_KEY_SPACE | | scancode > GLFW_KEY_LAST )