trunk/src/osd/modules/opengl/osd_opengl.h
| r244952 | r244953 | |
| 89 | 89 | #define OSD_GL(ret,func,params) ret (APIENTRY *func) params; |
| 90 | 90 | #define OSD_GL_UNUSED(ret,func,params) |
| 91 | 91 | |
| 92 | | struct osd_gl_dispatch |
| 92 | #ifdef _MSC_VER |
| 93 | extern "C" { |
| 94 | #else |
| 93 | 95 | { |
| 94 | | #define GET_GLFUNC 1 |
| 95 | | #include "osd_opengl.h" |
| 96 | | #undef GET_GLFUNC |
| 97 | | }; |
| 96 | #endif |
| 97 | struct osd_gl_dispatch |
| 98 | { |
| 99 | #define GET_GLFUNC 1 |
| 100 | #include "osd_opengl.h" |
| 101 | #undef GET_GLFUNC |
| 102 | }; |
| 103 | } |
| 98 | 104 | |
| 99 | 105 | #undef OSD_GL |
| 100 | 106 | #undef OSD_GL_UNUSED |
| 101 | 107 | |
| 108 | #ifdef _MSC_VER |
| 109 | extern "C" osd_gl_dispatch *gl_dispatch; |
| 110 | #endif |
| 102 | 111 | extern osd_gl_dispatch *gl_dispatch; |
| 103 | 112 | |
| 104 | 113 | /* |