mirror of
https://github.com/yquake2/yquake2remaster.git
synced 2024-11-10 07:12:07 +00:00
Use correct SDL include path under Windows and hide X11 stuff
This commit is contained in:
parent
e652f32a64
commit
b8792c7fc0
2 changed files with 12 additions and 0 deletions
|
@ -25,7 +25,12 @@
|
|||
* =======================================================================
|
||||
*/
|
||||
|
||||
#ifdef _WIN32
|
||||
#include <SDL/SDL.h>
|
||||
#else
|
||||
#include <SDL.h>
|
||||
#endif
|
||||
|
||||
#include "../refresh/header/local.h"
|
||||
#include "../client/header/keyboard.h"
|
||||
#include "../unix/header/unix.h"
|
||||
|
|
|
@ -25,7 +25,12 @@
|
|||
* =======================================================================
|
||||
*/
|
||||
|
||||
#ifdef _WIN32
|
||||
#include <SDL/SDL.h>
|
||||
#else
|
||||
#include <SDL.h>
|
||||
#endif
|
||||
|
||||
#include <GL/gl.h>
|
||||
|
||||
#include "../refresh/header/local.h"
|
||||
|
@ -35,10 +40,12 @@
|
|||
#include "icon/q2icon.xbm"
|
||||
|
||||
/* X.org stuff */
|
||||
#ifdef X11GAMMA
|
||||
#include <X11/Xos.h>
|
||||
#include <X11/Xlib.h>
|
||||
#include <X11/Xutil.h>
|
||||
#include <X11/extensions/xf86vmode.h>
|
||||
#endif
|
||||
|
||||
SDL_Surface *surface;
|
||||
glwstate_t glw_state;
|
||||
|
|
Loading…
Reference in a new issue