summaryrefslogtreecommitdiff
path: root/common
diff options
context:
space:
mode:
authorleo2002-10-10 20:33:29 +0000
committerleo2002-10-10 20:33:29 +0000
commitd82784547a0f37e21c3b6e4a402009655fc531bf (patch)
tree8e0bbfda4e6abe572d2f791feea326f5c7c73cd4 /common
parentbba1312ba7867934c8bfbfa6c968d2b35fb1fe51 (diff)
Fixed some variable types to work on all platforms.
git-svn-id: http://svn.leocad.org/trunk@300 c7d43263-9d01-0410-8a33-9dba5d9f93d6
Diffstat (limited to 'common')
-rw-r--r--common/texture.h9
1 files changed, 5 insertions, 4 deletions
diff --git a/common/texture.h b/common/texture.h
index 82eaf2e..fe19555 100644
--- a/common/texture.h
+++ b/common/texture.h
@@ -8,6 +8,7 @@
class File;
#include "opengl.h"
+#include "config.h"
typedef enum { LC_INTENSITY, LC_RGB, LC_RGBA } LC_TEXTURE_TYPES;
@@ -35,8 +36,8 @@ class Texture
// Read-only
char m_strName[9];
- unsigned short m_nWidth;
- unsigned short m_nHeight;
+ lcuint16 m_nWidth;
+ lcuint16 m_nHeight;
protected:
bool FinishLoadImage (bool bFilter, void *data);
@@ -44,8 +45,8 @@ protected:
int m_nRef;
GLuint m_nID;
GLenum m_nFormat;
- unsigned long m_nOffset;
- unsigned long m_nFileSize;
+ lcuint32 m_nOffset;
+ lcuint32 m_nFileSize;
};