aboutsummaryrefslogtreecommitdiff
path: root/xorg-server/glx/glheader.h
blob: c871932914a4945e62da8afcbb6c63f1bfd3bf9b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
#ifndef __GLHEADER_H__
#define __GLHEADER_H__

#define STDC_HEADERS 1

#include <X11/Xwinsock.h>
#include <X11/Xwindows.h>
#include <assert.h>
#define strcasecmp _stricmp

#undef MINSHORT
#undef MAXSHORT

#define MINSHORT -32768
#define MAXSHORT 32767

#ifndef PUBLIC
#define PUBLIC
#endif

#define GL_GLEXT_PROTOTYPES
#ifdef __cplusplus
extern "C" {
#endif


/**
 * GL_FIXED is defined in glext.h version 64 but these typedefs aren't (yet).
 */
typedef int GLclampx;

#ifdef __cplusplus
}
#endif

#endif