mirror of
https://git.do.srb2.org/KartKrew/Kart-Public.git
synced 2024-12-28 13:21:10 +00:00
Removed all remaining traces of VID_X11 code in hw_drv.h and hw_data.h, the macro is no longer used by Linux etc versions of SRB2.
Unlike the rest of the commits in this branch (as of writing), I didn't make this commit between 1 and 2 years ago, I made it right now ;)
This commit is contained in:
parent
aebcf3520b
commit
32077897b6
2 changed files with 0 additions and 19 deletions
|
@ -26,10 +26,6 @@
|
||||||
#include <windows.h>
|
#include <windows.h>
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#if defined (VID_X11) && !defined (HAVE_SDL)
|
|
||||||
#include <GL/glx.h>
|
|
||||||
#endif
|
|
||||||
|
|
||||||
#include "../doomdef.h"
|
#include "../doomdef.h"
|
||||||
//THIS MUST DISAPPEAR!!!
|
//THIS MUST DISAPPEAR!!!
|
||||||
#include "hw_glide.h"
|
#include "hw_glide.h"
|
||||||
|
|
|
@ -32,10 +32,6 @@
|
||||||
// STANDARD DLL EXPORTS
|
// STANDARD DLL EXPORTS
|
||||||
// ==========================================================================
|
// ==========================================================================
|
||||||
|
|
||||||
#ifdef HAVE_SDL
|
|
||||||
#undef VID_X11
|
|
||||||
#endif
|
|
||||||
|
|
||||||
EXPORT boolean HWRAPI(Init) (I_Error_t ErrorFunction);
|
EXPORT boolean HWRAPI(Init) (I_Error_t ErrorFunction);
|
||||||
#ifndef HAVE_SDL
|
#ifndef HAVE_SDL
|
||||||
EXPORT void HWRAPI(Shutdown) (void);
|
EXPORT void HWRAPI(Shutdown) (void);
|
||||||
|
@ -43,9 +39,6 @@ EXPORT void HWRAPI(Shutdown) (void);
|
||||||
#ifdef _WINDOWS
|
#ifdef _WINDOWS
|
||||||
EXPORT void HWRAPI(GetModeList) (vmode_t **pvidmodes, INT32 *numvidmodes);
|
EXPORT void HWRAPI(GetModeList) (vmode_t **pvidmodes, INT32 *numvidmodes);
|
||||||
#endif
|
#endif
|
||||||
#ifdef VID_X11
|
|
||||||
EXPORT Window HWRAPI(HookXwin) (Display *, INT32, INT32, boolean);
|
|
||||||
#endif
|
|
||||||
#if defined (PURESDL) || defined (macintosh)
|
#if defined (PURESDL) || defined (macintosh)
|
||||||
EXPORT void HWRAPI(SetPalette) (INT32 *, RGBA_t *gamma);
|
EXPORT void HWRAPI(SetPalette) (INT32 *, RGBA_t *gamma);
|
||||||
#else
|
#else
|
||||||
|
@ -71,10 +64,6 @@ EXPORT void HWRAPI(SetTransform) (FTransform *ptransform);
|
||||||
EXPORT INT32 HWRAPI(GetTextureUsed) (void);
|
EXPORT INT32 HWRAPI(GetTextureUsed) (void);
|
||||||
EXPORT INT32 HWRAPI(GetRenderVersion) (void);
|
EXPORT INT32 HWRAPI(GetRenderVersion) (void);
|
||||||
|
|
||||||
#ifdef VID_X11 // ifdef to be removed as soon as windoze supports that as well
|
|
||||||
// metzgermeister: added for Voodoo detection
|
|
||||||
EXPORT char *HWRAPI(GetRenderer) (void);
|
|
||||||
#endif
|
|
||||||
#ifdef SHUFFLE
|
#ifdef SHUFFLE
|
||||||
#define SCREENVERTS 10
|
#define SCREENVERTS 10
|
||||||
EXPORT void HWRAPI(PostImgRedraw) (float points[SCREENVERTS][SCREENVERTS][2]);
|
EXPORT void HWRAPI(PostImgRedraw) (float points[SCREENVERTS][SCREENVERTS][2]);
|
||||||
|
@ -115,10 +104,6 @@ struct hwdriver_s
|
||||||
#ifdef _WINDOWS
|
#ifdef _WINDOWS
|
||||||
GetModeList pfnGetModeList;
|
GetModeList pfnGetModeList;
|
||||||
#endif
|
#endif
|
||||||
#ifdef VID_X11
|
|
||||||
HookXwin pfnHookXwin;
|
|
||||||
GetRenderer pfnGetRenderer;
|
|
||||||
#endif
|
|
||||||
#ifndef HAVE_SDL
|
#ifndef HAVE_SDL
|
||||||
Shutdown pfnShutdown;
|
Shutdown pfnShutdown;
|
||||||
#endif
|
#endif
|
||||||
|
|
Loading…
Reference in a new issue