]> git.jsancho.org Git - lugaru.git/blobdiff - Source/TGALoader.cpp
Force XYZ to initialize to please Valgrind.
[lugaru.git] / Source / TGALoader.cpp
index 8908282cc45af4ce9b51c6dbb1e1d3abea40013b..b9c1b91bd69f1cb401c50ef702fcb47b70c2c186 100644 (file)
@@ -19,7 +19,7 @@ bool upload_image(const unsigned char* filePath, bool hasalpha)
                pgame->LoadingScreen();
        }
 
-#ifdef WIN32
+#if !PLATFORM_MACOSX
 
        // for Windows, just use TGA loader for now
        char fileName[ 256];
@@ -264,4 +264,4 @@ TGAImageRec*        LoadTGA( char *filename )
        // Close The File
        fclose( file );
        return &texture;
-}
\ No newline at end of file
+}