minimal working gtk-less build
[pcsx_rearmed.git] / plugins / peopsxgl / stdafx.h
CommitLineData
ef79bbde
P
1/***************************************************************************\r
2 stdafx.h - description\r
3 -------------------\r
4 begin : Sun Mar 08 2009\r
5 copyright : (C) 1999-2009 by Pete Bernert\r
6 web : www.pbernert.com \r
7 ***************************************************************************/\r
8\r
9/***************************************************************************\r
10 * *\r
11 * This program is free software; you can redistribute it and/or modify *\r
12 * it under the terms of the GNU General Public License as published by *\r
13 * the Free Software Foundation; either version 2 of the License, or *\r
14 * (at your option) any later version. See also the license.txt file for *\r
15 * additional informations. *\r
16 * *\r
17 ***************************************************************************/\r
18\r
19#define __X11_C_
20#define __inline inline
21
22#include <stdio.h>
23#include <stdlib.h>
24#include <stdint.h>
25#include <string.h>
26#include <unistd.h>
27#include <sys/stat.h>
28#include <sys/time.h>
29#include <GL/gl.h>
30#include <GL/glx.h>
31#include <math.h>
32#include <X11/cursorfont.h>
33
34#define CALLBACK /* */
35#define __inline inline
36
37#include "gl_ext.h"
38
39#define SHADETEXBIT(x) ((x>>24) & 0x1)
40#define SEMITRANSBIT(x) ((x>>25) & 0x1)
41
42#ifndef GL_BGRA_EXT
43#define GL_BGRA_EXT GL_BGRA
44#endif
45#define GL_COLOR_INDEX8_EXT 0x80E5