Null: Add non-functional EGL support

This is done in preparation for runtime platform selection, to make sure
every platform can build with EGL enabled.

It may be possible to add support for things like the ANGLE null
platform later.
This commit is contained in:
Camilla Löwy
2021-07-14 20:06:22 +02:00
parent 8b8d10bc01
commit d0776e04a3
3 changed files with 24 additions and 5 deletions

View File

@@ -48,10 +48,11 @@ void _glfwPlatformTerminate(void)
{
_glfw_free(_glfw.null.clipboardString);
_glfwTerminateOSMesa();
_glfwTerminateEGL();
}
const char* _glfwPlatformGetVersionString(void)
{
return _GLFW_VERSION_NUMBER " null OSMesa";
return _GLFW_VERSION_NUMBER " null OSMesa EGL";
}