hedgewars/uStore.pas
changeset 2580 aeccc8f51d3f
parent 2578 ec8e69b23097
child 2581 10f03732ea60
--- a/hedgewars/uStore.pas	Sat Oct 24 13:50:31 2009 +0000
+++ b/hedgewars/uStore.pas	Sun Oct 25 09:02:17 2009 +0000
@@ -963,10 +963,10 @@
 
 function glLoadExtension(extension : string) : boolean;
 begin
-{$IFNDEF IPHONEOS}
+{$IFDEF IPHONEOS}
+	glLoadExtension:= false;
+{$ELSE}
 	glLoadExtension:= glext_LoadExtension(extension);
-{$ELSE}
-	glLoadExtension:= false;
 {$ENDIF}
 {$IFDEF DEBUGFILE}
 	if not glLoadExtension then