define textureRect

git-svn-id: http://svn.berlios.de/svnroot/repos/oolite-linux/trunk@105 127b21dd-08f5-0310-b4b7-95ae10353056
This commit is contained in:
Dylan Smith 2005-08-25 18:11:30 +00:00
parent 7ef006c3f1
commit bd453f9084

View File

@ -81,6 +81,7 @@ Your fair use and other rights are in no way affected by the above.
#else
SDLImage *texImage;
#endif
NSRect textureRect;
NSSize imageSize;
NSData *textureData;
GLuint texName;
@ -123,6 +124,7 @@ Your fair use and other rights are in no way affected by the above.
texture_w *= 2;
while (texture_h < image_h)
texture_h *= 2;
textureRect=NSMakeRect(0.0, 0.0, texture_w, texture_h);
#ifndef GNUSTEP
NSArray* reps = [texImage representations];