mirror of
https://gitlab.freedesktop.org/cairo/cairo.git
synced 2026-05-03 18:18:08 +02:00
glew: don't pull in GL/glu.h
This commit is contained in:
parent
473e006ad6
commit
4083f40fbd
1 changed files with 0 additions and 10 deletions
|
|
@ -202,7 +202,6 @@ typedef _W64 int ptrdiff_t;
|
|||
#define APIENTRY
|
||||
#define GLEWAPI extern
|
||||
|
||||
/* <glu.h> */
|
||||
#ifndef GLAPI
|
||||
#define GLAPI extern
|
||||
#endif
|
||||
|
|
@ -1129,15 +1128,6 @@ GLAPI void GLAPIENTRY glViewport (GLint x, GLint y, GLsizei width, GLsizei heigh
|
|||
|
||||
#endif /* GL_VERSION_1_1 */
|
||||
|
||||
/* ---------------------------------- GLU ---------------------------------- */
|
||||
|
||||
/* this is where we can safely include GLU */
|
||||
#if defined(__APPLE__) && defined(__MACH__)
|
||||
#include <OpenGL/glu.h>
|
||||
#else
|
||||
#include <GL/glu.h>
|
||||
#endif
|
||||
|
||||
/* ----------------------------- GL_VERSION_1_2 ---------------------------- */
|
||||
|
||||
#ifndef GL_VERSION_1_2
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue