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 019dccf commit 6bed1db
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions RGFW.h
Original file line number Diff line number Diff line change
Expand Up @@ -9877,10 +9877,9 @@ RGFW_window* RGFW_createWindowPtr(const char* name, RGFW_rect rect, RGFW_windowF

#ifndef RGFW_WEBGPU
EmscriptenWebGLContextAttributes attrs;
attrs.alpha = EM_TRUE;
attrs.depth = EM_TRUE;
attrs.alpha = EM_TRUE;
attrs.stencil = RGFW_STENCIL;
attrs.alpha = RGFW_GL_HINTS[RGFW_glDepth];
attrs.depth = RGFW_GL_HINTS[RGFW_glAlpha];
attrs.stencil = RGFW_GL_HINTS[RGFW_glStencil];
attrs.antialias = RGFW_GL_HINTS[RGFW_glSamples];
attrs.premultipliedAlpha = EM_TRUE;
attrs.preserveDrawingBuffer = EM_FALSE;
Expand Down

0 comments on commit 6bed1db

Please sign in to comment.