aboutsummaryrefslogtreecommitdiff
path: root/xorg-server/glx/glheader.h
blob: cb8d6922a804c2437039713d4e115c18d36dd4b4 (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
38
#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 GLfixed;
typedef int GLclampx;

#ifdef __cplusplus
}
#endif

#endif