1. Jason McKesson
  2. Unofficial OpenGL SDK

Commits

Jason McKesson  committed f1da10b

Fixes for Linux build. Pretty much works now.

  • Participants
  • Parent commits c04a4dd
  • Branches 0.5

Comments (0)

Files changed (2)

File freeglut/freeglut.lua

View file
 	
 	configuration "windows"
 		defines "WIN32"
-		
+
 	configuration {"gmake", "linux or bsd"}
         defines {"HAVE_CONFIG_H", }
         includedirs {"."}
+
+	configuration {"linux or bsd"}
+        defines {"HAVE_CONFIG_H", }
+        includedirs {"."}
 		
 	configuration "Debug"
 		targetsuffix "D"

File glimg/source/DdsLoader.cpp

View file
 				return UncheckedImageFormat();
 			}
 
-			for(int convIx = 0; convIx < ARRAY_COUNT(g_oldFmtConvert); convIx++)
+			for(size_t convIx = 0; convIx < ARRAY_COUNT(g_oldFmtConvert); convIx++)
 			{
 				if(DoesMatchFormat(g_oldFmtConvert[convIx].ddsFmt, header))
 					return g_oldFmtConvert[convIx].fmt;