pietoaster: Clean up OpenGL includes. Include SDL_opengl.h instead of gl.h - do not

use both. Fixes warnings.


git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@3175 4a71c877-e1ca-e34f-864e-861f7616d084
master
Per Inge Mathisen 2007-12-25 18:26:15 +00:00
parent 7f528c37d0
commit 8ba3716f13
6 changed files with 3 additions and 32 deletions

View File

@ -19,11 +19,7 @@
*/
#include "pie_internal.h"
#ifdef _WIN32
#include <windows.h> // required by gl.h
#endif
#include <GL/gl.h>
#include <GL/glu.h>
#include <SDL_opengl.h>
#include "screen.h"
#include "game_io.h"

View File

@ -24,11 +24,7 @@
#include "SDL.h"
#include "AntTweakBar.h"
#ifdef _WIN32
#include <windows.h> // required by gl.h
#endif
#include <GL/gl.h>
#include <GL/glu.h>
#include <SDL_opengl.h>
#include "pie_types.h"
#include "imdloader.h"

View File

@ -19,11 +19,6 @@
*/
#include "resmaster.h"
#ifdef _WIN32
# include <windows.h> // required by gl.h
#endif
#include <GL/gl.h>
#include <GL/glu.h>
#include <SDL_opengl.h>
#include <SDL_image.h>

View File

@ -20,11 +20,7 @@
#ifndef _resmaster_h
#define _resmaster_h
#ifdef _WIN32
#include <windows.h> // required by gl.h
#endif
#include <GL/gl.h>
#include <GL/glu.h>
#include <SDL_opengl.h>
#include "wzglobal.h"
#include "pie_types.h"

View File

@ -20,12 +20,6 @@
#ifndef _screen_h
#define _screen_h
#ifdef _WIN32
#include <windows.h> // required by gl.h
#endif
#include <GL/gl.h>
#include <GL/glu.h>
#include <SDL_opengl.h>
#include "wzglobal.h"

View File

@ -21,12 +21,6 @@
#ifndef _texture_mapper_h
#define _texture_mapper_h
#ifdef _WIN32
#include <windows.h> // required by gl.h
#endif
#include <GL/gl.h>
#include <GL/glu.h>
#include "wzglobal.h"
#include "pie_types.h"