mirror of
https://github.com/glfw/glfw.git
synced 2025-10-02 21:00:57 +00:00
Add include gl.h and glu.h on windows
Without that you can't use functions with prefix glu* correctly on OS Windows
This commit is contained in:
parent
c6e02c09ff
commit
67d2c567d3
@ -202,6 +202,17 @@ extern "C" {
|
||||
#endif
|
||||
|
||||
/* -------------------- END SYSTEM/COMPILER SPECIFIC --------------------- */
|
||||
#if defined(__APPLE_CC__)
|
||||
#include <OpenGL/gl.h>
|
||||
#ifndef GLFW_NO_GLU
|
||||
#include <OpenGL/glu.h>
|
||||
#endif
|
||||
#else
|
||||
#include <GL/gl.h>
|
||||
#ifndef GLFW_NO_GLU
|
||||
#include <GL/glu.h>
|
||||
#endif
|
||||
#endif
|
||||
|
||||
|
||||
/*************************************************************************
|
||||
|
Loading…
Reference in New Issue
Block a user