mirror of
https://github.com/glfw/glfw.git
synced 2025-10-04 13:46:37 +00:00
Merge dddf8724be
into 682f1cf203
This commit is contained in:
commit
851446a592
@ -124,6 +124,7 @@ information on what to include when reporting a bug.
|
||||
|
||||
## Changelog
|
||||
|
||||
- [GLES] Include proper `glext` headers when required with OpenGL ES 3.x
|
||||
- Added `glfwGetError` function for querying the last error code and its
|
||||
description (#970)
|
||||
- Added `glfwUpdateGamepadMappings` function for importing gamepad mappings in
|
||||
|
@ -153,21 +153,21 @@ extern "C" {
|
||||
|
||||
#include <GLES3/gl3.h>
|
||||
#if defined(GLFW_INCLUDE_GLEXT)
|
||||
#include <GLES2/gl2ext.h>
|
||||
#include <GLES3/gl3ext.h>
|
||||
#endif
|
||||
|
||||
#elif defined(GLFW_INCLUDE_ES31)
|
||||
|
||||
#include <GLES3/gl31.h>
|
||||
#if defined(GLFW_INCLUDE_GLEXT)
|
||||
#include <GLES2/gl2ext.h>
|
||||
#include <GLES3/gl3ext.h>
|
||||
#endif
|
||||
|
||||
#elif defined(GLFW_INCLUDE_ES32)
|
||||
|
||||
#include <GLES3/gl32.h>
|
||||
#if defined(GLFW_INCLUDE_GLEXT)
|
||||
#include <GLES2/gl2ext.h>
|
||||
#include <GLES3/gl3ext.h>
|
||||
#endif
|
||||
|
||||
#elif defined(GLFW_INCLUDE_GLCOREARB)
|
||||
|
Loading…
Reference in New Issue
Block a user