Changed texture 'type' parameter under Windows to something apparently more optimal. Needs testing -- are colours right? Is performance noticably changed?

git-svn-id: http://svn.berlios.de/svnroot/repos/oolite-linux/trunk@1061 127b21dd-08f5-0310-b4b7-95ae10353056
This commit is contained in:
Jens Ayton 2007-07-06 11:01:14 +00:00
parent f0b1addbeb
commit 81eec06aea

View File

@ -87,7 +87,11 @@ static BOOL sCheckedExtensions = NO;
#if OOLITE_BIG_ENDIAN
#define RGBA_IMAGE_TYPE GL_UNSIGNED_INT_8_8_8_8_REV
#elif OOLITE_LITTLE_ENDIAN
#define RGBA_IMAGE_TYPE GL_UNSIGNED_INT_8_8_8_8
#if OOLITE_WINDOWS
#define RGBA_IMAGE_TYPE GL_UNSIGNED_BYTE
#else
#define RGBA_IMAGE_TYPE GL_UNSIGNED_INT_8_8_8_8
#endif
#else
#error Neither OOLITE_BIG_ENDIAN nor OOLITE_LITTLE_ENDIAN is defined as nonzero!
#endif