Skip to content

Commit

Permalink
[GL] Fixed compile error for WebGL.
Browse files Browse the repository at this point in the history
  • Loading branch information
LukasBanana committed Sep 22, 2024
1 parent c949aa4 commit 39eef8b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion examples/C99/HelloTriangle/HelloTriangle.c
Original file line number Diff line number Diff line change
Expand Up @@ -163,7 +163,7 @@ int main(int argc, char* argv[])
};

// Enter main loop
while (llglProcessSurfaceEvents(surface) && !llglHasWindowQuit(window))
while (llglProcessSurfaceEvents() && !llglHasWindowQuit(window))
{
// Begin recording commands
llglBegin(cmdBuffer);
Expand Down
2 changes: 1 addition & 1 deletion sources/Renderer/OpenGL/OpenGL.h
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@

#if LLGL_WEBGL

#define LLGL_GLEXT_TRANSFORM_FEEDBACK
#define LLGL_GLEXT_TRANSFORM_FEEDBACK 1

#else // LLGL_WEBGL

Expand Down

0 comments on commit 39eef8b

Please sign in to comment.