Search
lxdream.org :: lxdream/src/pvr2/texcache.c :: diff
lxdream 0.9.1
released Jun 29
Download Now
filename src/pvr2/texcache.c
changeset 1210:79bbd30363f4
prev1165:13406c35849b
next1221:f50407acc682
author nkeynes
date Tue Feb 07 14:27:13 2012 +1000 (8 years ago)
permissions -rw-r--r--
last change Add wrangling for some of the core vs EXT/ARB versions of functions + macros
file annotate diff log raw
1.1 --- a/src/pvr2/texcache.c Fri Jan 28 15:58:34 2011 +1000
1.2 +++ b/src/pvr2/texcache.c Tue Feb 07 14:27:13 2012 +1000
1.3 @@ -790,16 +790,16 @@
1.4
1.5 /* Set texture parameters from the poly2 word */
1.6 if( POLY2_TEX_CLAMP_U(poly2_word) ) {
1.7 - glTexParameteri( GL_TEXTURE_2D, GL_TEXTURE_WRAP_S, GL_CLAMP );
1.8 + glTexParameteri( GL_TEXTURE_2D, GL_TEXTURE_WRAP_S, GL_CLAMP_TO_EDGE );
1.9 } else if( POLY2_TEX_MIRROR_U(poly2_word) ) {
1.10 - glTexParameteri( GL_TEXTURE_2D, GL_TEXTURE_WRAP_S, GL_MIRRORED_REPEAT_ARB );
1.11 + glTexParameteri( GL_TEXTURE_2D, GL_TEXTURE_WRAP_S, GL_MIRRORED_REPEAT );
1.12 } else {
1.13 glTexParameteri( GL_TEXTURE_2D, GL_TEXTURE_WRAP_S, GL_REPEAT );
1.14 }
1.15 if( POLY2_TEX_CLAMP_V(poly2_word) ) {
1.16 - glTexParameteri( GL_TEXTURE_2D, GL_TEXTURE_WRAP_T, GL_CLAMP );
1.17 + glTexParameteri( GL_TEXTURE_2D, GL_TEXTURE_WRAP_T, GL_CLAMP_TO_EDGE );
1.18 } else if( POLY2_TEX_MIRROR_V(poly2_word) ) {
1.19 - glTexParameteri( GL_TEXTURE_2D, GL_TEXTURE_WRAP_T, GL_MIRRORED_REPEAT_ARB );
1.20 + glTexParameteri( GL_TEXTURE_2D, GL_TEXTURE_WRAP_T, GL_MIRRORED_REPEAT );
1.21 } else {
1.22 glTexParameteri( GL_TEXTURE_2D, GL_TEXTURE_WRAP_T, GL_REPEAT );
1.23 }
.