mirror of
https://github.com/encounter/SDL.git
synced 2025-12-14 07:36:09 +00:00
Removed unused constants
Except for SDL_bmp.c where they are historically interesting and I've left them in.
This commit is contained in:
@@ -90,11 +90,6 @@
|
||||
#include "SDL_blit.h"
|
||||
#include "SDL_RLEaccel_c.h"
|
||||
|
||||
/*
|
||||
#ifndef MAX
|
||||
#define MAX(a, b) ((a) > (b) ? (a) : (b))
|
||||
#endif
|
||||
*/
|
||||
#ifndef MIN
|
||||
#define MIN(a, b) ((a) < (b) ? (a) : (b))
|
||||
#endif
|
||||
|
||||
@@ -43,8 +43,8 @@
|
||||
/* Compression encodings for BMP files */
|
||||
#ifndef BI_RGB
|
||||
#define BI_RGB 0
|
||||
/* #define BI_RLE8 1 */
|
||||
/* #define BI_RLE4 2 */
|
||||
#define BI_RLE8 1
|
||||
#define BI_RLE4 2
|
||||
#define BI_BITFIELDS 3
|
||||
#endif
|
||||
|
||||
|
||||
@@ -519,18 +519,6 @@ X11_GL_GetVisual(_THIS, Display * display, int screen)
|
||||
return vinfo;
|
||||
}
|
||||
|
||||
#if 0
|
||||
#ifndef GLXBadContext
|
||||
#define GLXBadContext 0
|
||||
#endif
|
||||
#ifndef GLXBadFBConfig
|
||||
#define GLXBadFBConfig 9
|
||||
#endif
|
||||
#ifndef GLXBadProfileARB
|
||||
#define GLXBadProfileARB 13
|
||||
#endif
|
||||
#endif
|
||||
|
||||
static int (*handler) (Display *, XErrorEvent *) = NULL;
|
||||
static const char *errorHandlerOperation = NULL;
|
||||
static int errorBase = 0;
|
||||
|
||||
@@ -44,7 +44,6 @@
|
||||
|
||||
#define _NET_WM_STATE_REMOVE 0l
|
||||
#define _NET_WM_STATE_ADD 1l
|
||||
/* #define _NET_WM_STATE_TOGGLE 2l */
|
||||
|
||||
static Bool isMapNotify(Display *dpy, XEvent *ev, XPointer win)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user