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:
parent
f0b1addbeb
commit
81eec06aea
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user