Skip to content

Commit

Permalink
proper merge with opengl update
Browse files Browse the repository at this point in the history
  • Loading branch information
ColleagueRiley committed Feb 20, 2025
1 parent 62fe251 commit a71020c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion RGFW.h
Original file line number Diff line number Diff line change
Expand Up @@ -9885,7 +9885,7 @@ RGFW_window* RGFW_createWindowPtr(const char* name, RGFW_rect rect, RGFW_windowF
attrs.premultipliedAlpha = EM_TRUE;
attrs.preserveDrawingBuffer = EM_FALSE;

if (RGFW_DOUBLE_BUFFER == 0)
if (RGFW_GL_HINTS[RGFW_glDoubleBuffer] == 0)
attrs.renderViaOffscreenBackBuffer = 0;
else
attrs.renderViaOffscreenBackBuffer = RGFW_GL_HINTS[RGFW_glAuxBuffers];
Expand Down

0 comments on commit a71020c

Please sign in to comment.