OpenGL Renderer:
- Fix building on platforms that aren’t OS X. (Regression from r5450. Fixes bug #1561.)
This commit is contained in:
parent
490e34f81e
commit
41d9061ce4
|
@ -24,6 +24,7 @@
|
||||||
#define WIN32_LEAN_AND_MEAN
|
#define WIN32_LEAN_AND_MEAN
|
||||||
#include <windows.h>
|
#include <windows.h>
|
||||||
#include <GL/gl.h>
|
#include <GL/gl.h>
|
||||||
|
#include <GL/glext.h>
|
||||||
#include <GL/glcorearb.h>
|
#include <GL/glcorearb.h>
|
||||||
|
|
||||||
#define OGLEXT(procPtr, func) procPtr func = NULL;
|
#define OGLEXT(procPtr, func) procPtr func = NULL;
|
||||||
|
@ -39,6 +40,7 @@
|
||||||
#define EXTERNOGLEXT(procPtr, func)
|
#define EXTERNOGLEXT(procPtr, func)
|
||||||
#else
|
#else
|
||||||
#include <GL/gl.h>
|
#include <GL/gl.h>
|
||||||
|
#include <GL/glext.h>
|
||||||
#include <GL/glx.h>
|
#include <GL/glx.h>
|
||||||
#include "utils/glcorearb.h"
|
#include "utils/glcorearb.h"
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue