summaryrefslogtreecommitdiff
path: root/wgltrace.py
diff options
context:
space:
mode:
authorJosé Fonseca <jfonseca@vmware.com>2010-11-28 16:43:04 +0000
committerJosé Fonseca <jfonseca@vmware.com>2010-11-28 16:43:04 +0000
commitc6b49ce0258320f1981819f10c94c9c28a604b2b (patch)
tree5999d5796e3d1d0b501ffa720acf18db39ead09d /wgltrace.py
parentc5d265c670467c24c9d154a129dc4b1dfadd5de5 (diff)
Eliminate GLEW dependency.
Diffstat (limited to 'wgltrace.py')
-rw-r--r--wgltrace.py21
1 files changed, 0 insertions, 21 deletions
diff --git a/wgltrace.py b/wgltrace.py
index f75ae80..11da692 100644
--- a/wgltrace.py
+++ b/wgltrace.py
@@ -435,27 +435,6 @@ if __name__ == '__main__':
print '#include "os.hpp"'
print '#include "glsize.hpp"'
print
- print '#ifndef PFD_SUPPORT_DIRECTDRAW'
- print '#define PFD_SUPPORT_DIRECTDRAW 0x00002000'
- print '#endif'
- print '#ifndef PFD_SUPPORT_COMPOSITION'
- print '#define PFD_SUPPORT_COMPOSITION 0x00008000'
- print '#endif'
-
- print '#define GLAPIENTRY __stdcall'
- print
- print '#ifdef __MINGW32__'
- print ''
- print 'typedef struct _WGLSWAP'
- print '{'
- print ' HDC hdc;'
- print ' UINT uiFlags;'
- print '} WGLSWAP, *PWGLSWAP, FAR *LPWGLSWAP;'
- print ''
- print '#define WGL_SWAPMULTIPLE_MAX 16'
- print ''
- print '#endif'
- print
print 'extern "C" {'
print '''
static HINSTANCE g_hDll = NULL;