Skip to content

Commit

Permalink
macOS: opt out of HiDPI OpenGL surface
Browse files Browse the repository at this point in the history
  • Loading branch information
Kwarf committed Feb 24, 2024
1 parent 6aa0f6f commit 87bac46
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/macosx/RocketView.m
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,8 @@ - (id)initWithFrame:(NSRect)frame
if (self == nil)
return nil;

[self setWantsBestResolutionOpenGLSurface:NO];

NSOpenGLPixelFormatAttribute attributes[] = {
NSOpenGLPFADoubleBuffer,
0
Expand Down

0 comments on commit 87bac46

Please sign in to comment.