hedgewars/uStore.pas
changeset 15315 272dc9967fd3
parent 14752 7dfc6ed13337
child 15339 8951eaad20e5
--- a/hedgewars/uStore.pas	Mon Aug 12 21:20:00 2019 +0300
+++ b/hedgewars/uStore.pas	Tue Aug 13 09:50:24 2019 -0600
@@ -861,7 +861,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;