Mercurial > sdl-ios-xcode
comparison src/video/photon/SDL_ph_gl.c @ 1361:19418e4422cb
New configure-based build system. Still work in progress, but much improved
author | Sam Lantinga <slouken@libsdl.org> |
---|---|
date | Thu, 16 Feb 2006 10:11:48 +0000 |
parents | 3692456e7b0f |
children | c0a74f199ecf |
comparison
equal
deleted
inserted
replaced
1360:70a9cfb4cf1b | 1361:19418e4422cb |
---|---|
22 | 22 |
23 #include <dlfcn.h> | 23 #include <dlfcn.h> |
24 #include "SDL.h" | 24 #include "SDL.h" |
25 #include "SDL_ph_gl.h" | 25 #include "SDL_ph_gl.h" |
26 | 26 |
27 #ifdef HAVE_OPENGL | 27 #if SDL_VIDEO_OPENGL |
28 | 28 |
29 #if (_NTO_VERSION >= 630) | 29 #if (_NTO_VERSION >= 630) |
30 /* PhotonGL functions */ | 30 /* PhotonGL functions */ |
31 GLPH_DECLARE_FUNCS; | 31 GLPH_DECLARE_FUNCS; |
32 #endif /* 6.3.0 */ | 32 #endif /* 6.3.0 */ |
94 } | 94 } |
95 | 95 |
96 #if (_NTO_VERSION < 630) | 96 #if (_NTO_VERSION < 630) |
97 int ph_GL_LoadLibrary(_THIS, const char* path) | 97 int ph_GL_LoadLibrary(_THIS, const char* path) |
98 { | 98 { |
99 /* if code compiled with HAVE_OPENGL, that mean that library already linked */ | 99 /* if code compiled with SDL_VIDEO_OPENGL, that mean that library already linked */ |
100 this->gl_config.driver_loaded = 1; | 100 this->gl_config.driver_loaded = 1; |
101 | 101 |
102 return 0; | 102 return 0; |
103 } | 103 } |
104 #else | 104 #else |
400 return 0; | 400 return 0; |
401 } | 401 } |
402 | 402 |
403 #endif /* _NTO_VERSION */ | 403 #endif /* _NTO_VERSION */ |
404 | 404 |
405 #endif /* HAVE_OPENGL */ | 405 #endif /* SDL_VIDEO_OPENGL */ |