Search
lxdream.org :: lxdream :: r860:b429964761c8
lxdream 0.9.1
released Jun 29
Download Now
changeset860:b429964761c8
parent859:b941c703ccd6
child861:4cd3a1e0f569
authornkeynes
dateSun Sep 28 00:29:37 2008 +0000 (12 years ago)
Downgrade Bumpmap to warning (temporarily until implemented) and treat unrecognized
textures as ARGB1555
src/pvr2/texcache.c
1.1 --- a/src/pvr2/texcache.c Fri Sep 26 10:29:10 2008 +0000
1.2 +++ b/src/pvr2/texcache.c Sun Sep 28 00:29:37 2008 +0000
1.3 @@ -398,6 +398,7 @@
1.4 }
1.5 break;
1.6
1.7 + default:
1.8 case PVR2_TEX_FORMAT_ARGB1555:
1.9 format = GL_BGRA;
1.10 type = GL_UNSIGNED_SHORT_1_5_5_5_REV;
1.11 @@ -420,10 +421,7 @@
1.12 type = GL_UNSIGNED_BYTE;
1.13 break;
1.14 case PVR2_TEX_FORMAT_BUMPMAP:
1.15 - ERROR( "Bumpmap not supported" );
1.16 - return;
1.17 - default:
1.18 - ERROR( "Undefined texture format" );
1.19 + WARN( "Bumpmap not supported" );
1.20 return;
1.21 }
1.22
.