diff options
author | tma <tma@edf5b092-35ff-0310-97b2-ce42778d08ea> | 2007-09-12 18:02:38 +0000 |
---|---|---|
committer | tma <tma@edf5b092-35ff-0310-97b2-ce42778d08ea> | 2007-09-12 18:02:38 +0000 |
commit | 0df037543f28ce0af60b427bba126c773eb76426 (patch) | |
tree | c6c0e452879832a1bec7ccd5c2d18021c9509099 /code/renderer/tr_shade.c | |
parent | 33d0f20bb57a17ffe51b337a3d353fc6a18ce72e (diff) | |
download | ioquake3-aero-0df037543f28ce0af60b427bba126c773eb76426.tar.gz ioquake3-aero-0df037543f28ce0af60b427bba126c773eb76426.zip |
* Revert 1176 -- MinGW's headers are too old *sigh*
* Revert to using literal function pointers for GL extensions rather than PFN*
typedefs as some platforms' headers are broken enough that they prevent
SDL_opengl.h from fixing things up if the PFN* typedefs are missing
git-svn-id: svn://svn.icculus.org/quake3/trunk@1177 edf5b092-35ff-0310-97b2-ce42778d08ea
Diffstat (limited to 'code/renderer/tr_shade.c')
-rw-r--r-- | code/renderer/tr_shade.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/code/renderer/tr_shade.c b/code/renderer/tr_shade.c index 324f52c..6f22b7c 100644 --- a/code/renderer/tr_shade.c +++ b/code/renderer/tr_shade.c @@ -43,8 +43,8 @@ This is just for OpenGL conformance testing, it should never be the fastest static void APIENTRY R_ArrayElementDiscrete( GLint index ) { qglColor4ubv( tess.svars.colors[ index ] ); if ( glState.currenttmu ) { - qglMultiTexCoord2f( 0, tess.svars.texcoords[ 0 ][ index ][0], tess.svars.texcoords[ 0 ][ index ][1] ); - qglMultiTexCoord2f( 1, tess.svars.texcoords[ 1 ][ index ][0], tess.svars.texcoords[ 1 ][ index ][1] ); + qglMultiTexCoord2fARB( 0, tess.svars.texcoords[ 0 ][ index ][0], tess.svars.texcoords[ 0 ][ index ][1] ); + qglMultiTexCoord2fARB( 1, tess.svars.texcoords[ 1 ][ index ][0], tess.svars.texcoords[ 1 ][ index ][1] ); } else { qglTexCoord2fv( tess.svars.texcoords[ 0 ][ index ] ); } |