Revision: | 1.4 |
Committed: | Sat Apr 8 14:04:14 2006 UTC (18 years, 2 months ago) by root |
Branch: | MAIN |
Changes since 1.3: | +7 -0 lines |
Log Message: | bigface support |
# | Content |
---|---|
1 | #include "EXTERN.h" |
2 | #include "perl.h" |
3 | #include "XSUB.h" |
4 | |
5 | #include <SDL.h> |
6 | #include <SDL_opengl.h> |
7 | #include <SDL_image.h> |
8 | |
9 | MODULE = Crossfire::Client PACKAGE = Crossfire::Client |
10 | |
11 | char * |
12 | gl_version () |
13 | CODE: |
14 | RETVAL = glGetString (GL_VERSION); |
15 | OUTPUT: |
16 | RETVAL |
17 | |
18 | char * |
19 | gl_extensions () |
20 | CODE: |
21 | RETVAL = glGetString (GL_EXTENSIONS); |
22 | OUTPUT: |
23 | RETVAL |
24 | |
25 |