aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/base/UTexture.pas4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/base/UTexture.pas b/src/base/UTexture.pas
index 8fb03bde..962bd2b0 100644
--- a/src/base/UTexture.pas
+++ b/src/base/UTexture.pas
@@ -249,8 +249,8 @@ end;
function TTextureUnit.LoadTexture(const Identifier: string; Typ: TTextureType; Col: LongWord): TTexture;
var
TexSurface: PSDL_Surface;
- newWidth, newHeight: cardinal;
- oldWidth, oldHeight: cardinal;
+ newWidth, newHeight: integer;
+ oldWidth, oldHeight: integer;
ActTex: GLuint;
begin
// zero texture data