hedgewars/uStore.pas
changeset 1525 311d0ab35d98
parent 1431 21ca09524f9c
child 1698 993c42413387
--- a/hedgewars/uStore.pas	Mon Dec 01 14:24:17 2008 +0000
+++ b/hedgewars/uStore.pas	Thu Dec 04 21:14:03 2008 +0000
@@ -45,8 +45,8 @@
 function  LoadImage(const filename: string; hasAlpha, critical, setTransparent: boolean): PSDL_Surface;
 procedure SetupOpenGL;
 
-var PixelFormat: PSDL_PixelFormat;
- SDLPrimSurface: PSDL_Surface;
+var PixelFormat: PSDL_PixelFormat = nil;
+ SDLPrimSurface: PSDL_Surface = nil;
    PauseTexture,
    ConfirmTexture: PTexture;