Skip to content
Snippets Groups Projects
Commit 7d131602 authored by neil's avatar neil
Browse files

Centralize OpenGL headers to centralize Mac port ifdefs

git-svn-id: http://svn.net-core.org/repos/t-engine4@609 51575b47-30f0-44d4-a5cc-537603b46e54
parent 92a5a545
No related branches found
No related tags found
No related merge requests found
......@@ -22,9 +22,7 @@
#define DISPLAY_SDL_H
#include "tSDL.h"
#include <gl.h>
#include <glu.h>
#include <glext.h>
#include "tgl.h"
#ifdef __cplusplus
extern "C" {
......
......@@ -21,7 +21,7 @@
#ifndef _MAP_H_
#define _MAP_H_
#include <gl.h>
#include "tgl.h"
typedef struct {
GLuint **grids_terrain;
......
......@@ -21,7 +21,7 @@
#ifndef _PARTICLES_H_
#define _PARTICLES_H_
#include <gl.h>
#include "tgl.h"
typedef struct {
float size, sizev, sizea;
......
#ifdef __APPLE__
#include <OpenGL/gl.h>
#include <OpenGL/glu.h>
#include <OpenGL/glext.h>
#else
#include <gl.h>
#include <glu.h>
#include <glext.h>
#endif
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment