hedgewars/uStore.pas
branch0.9.25
changeset 15334 35e976e48b0b
parent 14204 3c36a4e66c82
child 15339 8951eaad20e5
--- a/hedgewars/uStore.pas	Mon Jan 14 15:11:15 2019 -0500
+++ b/hedgewars/uStore.pas	Tue Aug 13 09:50:24 2019 -0600
@@ -851,7 +851,9 @@
     SDL_GL_SetAttribute(SDL_GL_DEPTH_SIZE, 0);         // no depth buffer
     SDL_GL_SetAttribute(SDL_GL_ALPHA_SIZE, 0);         // no alpha channel
     SDL_GL_SetAttribute(SDL_GL_BUFFER_SIZE, 16);       // buffer should be 16
-    SDL_GL_SetAttribute(SDL_GL_ACCELERATED_VISUAL, 1); // prefer hw rendering
+{$IFNDEF DARWIN}
+    SDL_GL_SetAttribute(SDL_GL_ACCELERATED_VISUAL, 1); // force hw rendering except on macOS
+{$ENDIF}
 end;
 
 procedure SetupOpenGL;