mirror of
https://github.com/glfw/glfw.git
synced 2026-08-27 13:05:53 +02:00
Allow combining Vulkan and GL/GLES header macros
This commit is contained in:
@@ -165,8 +165,6 @@ extern "C" {
|
||||
#if defined(GLFW_INCLUDE_GLEXT)
|
||||
#include <GLES2/gl2ext.h>
|
||||
#endif
|
||||
#elif defined(GLFW_INCLUDE_VULKAN)
|
||||
#include <vulkan/vulkan.h>
|
||||
#elif !defined(GLFW_INCLUDE_NONE)
|
||||
#include <GL/gl.h>
|
||||
#if defined(GLFW_INCLUDE_GLEXT)
|
||||
@@ -177,6 +175,9 @@ extern "C" {
|
||||
#include <GL/glu.h>
|
||||
#endif
|
||||
#endif
|
||||
#if defined(GLFW_INCLUDE_VULKAN)
|
||||
#include <vulkan/vulkan.h>
|
||||
#endif
|
||||
|
||||
#if defined(GLFW_DLL) && defined(_GLFW_BUILD_DLL)
|
||||
/* GLFW_DLL must be defined by applications that are linking against the DLL
|
||||
|
||||
Reference in New Issue
Block a user