changeset 2152 | a2811690da1b |
parent 2147 | ffa64983dc07 |
child 2154 | 3d2917be12c3 |
--- a/hedgewars/uMisc.pas Mon Jun 08 16:35:29 2009 +0000 +++ b/hedgewars/uMisc.pas Thu Jun 11 15:22:02 2009 +0000 @@ -19,7 +19,7 @@ unit uMisc; interface uses uConsts, SDLh, -{$IFDEF IPHONE} +{$IFDEF GLES11} gles11, {$ELSE} GL, @@ -507,7 +507,7 @@ size:= cScreenWidth * cScreenHeight * 3; p:= GetMem(size); -{$IFDEF IPHONE} +{$IFDEF IPHONEOS} //since opengl es operates on a single surface GL_FRONT is implied, but how to test that? {$ELSE} glReadBuffer(GL_FRONT);