diff options
author | Dan Gudmundsson <[email protected]> | 2010-11-19 14:57:59 +0100 |
---|---|---|
committer | Dan Gudmundsson <[email protected]> | 2010-11-19 16:13:05 +0100 |
commit | abc92a6f3b4615e596992eda153da0c09a3c7cbf (patch) | |
tree | 48be474d24206c81f1bcd605427648225f1e5472 /lib/wx/c_src/gen/gl_fdefs.h | |
parent | b69da5dbf60e0062982c89524df97066b95ce816 (diff) | |
download | otp-abc92a6f3b4615e596992eda153da0c09a3c7cbf.tar.gz otp-abc92a6f3b4615e596992eda153da0c09a3c7cbf.tar.bz2 otp-abc92a6f3b4615e596992eda153da0c09a3c7cbf.zip |
Fix non available opengl functions
Opengl functions are loaded at runtime and differ with drivers and
cards.
Diffstat (limited to 'lib/wx/c_src/gen/gl_fdefs.h')
-rw-r--r-- | lib/wx/c_src/gen/gl_fdefs.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/lib/wx/c_src/gen/gl_fdefs.h b/lib/wx/c_src/gen/gl_fdefs.h index c0fc338aa8..a45896d30d 100644 --- a/lib/wx/c_src/gen/gl_fdefs.h +++ b/lib/wx/c_src/gen/gl_fdefs.h @@ -24,6 +24,13 @@ # define WXE_EXTERN extern #endif +typedef struct { + const char * name; + const char * alt; + void * func; +} gl_fns_t; + +#define GLE_GL_FUNC_START 5037 typedef void (APIENTRY * WXEGLACCUM)(GLenum,GLfloat); WXE_EXTERN WXEGLACCUM weglAccum; typedef void (APIENTRY * WXEGLALPHAFUNC)(GLenum,GLclampf); |