Search
lxdream.org :: lxdream/src/pvr2/texcache.c :: diff
lxdream 0.9.1
released Jun 29
Download Now
filename src/pvr2/texcache.c
changeset 860:b429964761c8
prev856:02ac5f37bfc9
next870:8d4deb2bc1ea
author nkeynes
date Sun Sep 28 00:29:37 2008 +0000 (11 years ago)
permissions -rw-r--r--
last change Downgrade Bumpmap to warning (temporarily until implemented) and treat unrecognized
textures as ARGB1555
file annotate diff log raw
1.1 --- a/src/pvr2/texcache.c Thu Sep 11 22:51:24 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
.