aboutsummaryrefslogtreecommitdiffstats
path: root/code/sdl
diff options
context:
space:
mode:
authortma <tma@edf5b092-35ff-0310-97b2-ce42778d08ea>2007-11-25 23:41:01 +0000
committertma <tma@edf5b092-35ff-0310-97b2-ce42778d08ea>2007-11-25 23:41:01 +0000
commitdaa6b52744a1530591e0717d99976c30e5e8e0a6 (patch)
tree6fc4ba29584cf9d2441ef8d64d1d4f8c5e108eaf /code/sdl
parent75e6bcf119724b1d3db26707da856e48802e59b4 (diff)
downloadioquake3-aero-daa6b52744a1530591e0717d99976c30e5e8e0a6.tar.gz
ioquake3-aero-daa6b52744a1530591e0717d99976c30e5e8e0a6.zip
* Move SDL library version check to sys_main.c as it's proving difficult to
make the Makefile check sufficiently portable * Remove unnecessary GL PFN... casts from SDL_GL_GetProcAddress calls * Replace OS X uname workaround with Solaris workaround, as I believe OS X uname now behaves the same as GNU name git-svn-id: svn://svn.icculus.org/quake3/trunk@1217 edf5b092-35ff-0310-97b2-ce42778d08ea
Diffstat (limited to 'code/sdl')
-rw-r--r--code/sdl/sdl_glimp.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/code/sdl/sdl_glimp.c b/code/sdl/sdl_glimp.c
index c5954ac..a1e1a27 100644
--- a/code/sdl/sdl_glimp.c
+++ b/code/sdl/sdl_glimp.c
@@ -396,9 +396,9 @@ static void GLimp_InitExtensions( void )
{
if ( r_ext_multitexture->value )
{
- qglMultiTexCoord2fARB = ( PFNGLMULTITEXCOORD2FARBPROC ) SDL_GL_GetProcAddress( "glMultiTexCoord2fARB" );
- qglActiveTextureARB = ( PFNGLACTIVETEXTUREARBPROC ) SDL_GL_GetProcAddress( "glActiveTextureARB" );
- qglClientActiveTextureARB = ( PFNGLCLIENTACTIVETEXTUREARBPROC ) SDL_GL_GetProcAddress( "glClientActiveTextureARB" );
+ qglMultiTexCoord2fARB = SDL_GL_GetProcAddress( "glMultiTexCoord2fARB" );
+ qglActiveTextureARB = SDL_GL_GetProcAddress( "glActiveTextureARB" );
+ qglClientActiveTextureARB = SDL_GL_GetProcAddress( "glClientActiveTextureARB" );
if ( qglActiveTextureARB )
{