diff --git a/examples/C99/HelloTriangle/HelloTriangle.c b/examples/C99/HelloTriangle/HelloTriangle.c index b868e5ed92..8d3ed418fa 100644 --- a/examples/C99/HelloTriangle/HelloTriangle.c +++ b/examples/C99/HelloTriangle/HelloTriangle.c @@ -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); diff --git a/sources/Renderer/OpenGL/OpenGL.h b/sources/Renderer/OpenGL/OpenGL.h index f5d7740b11..02a7607448 100644 --- a/sources/Renderer/OpenGL/OpenGL.h +++ b/sources/Renderer/OpenGL/OpenGL.h @@ -22,7 +22,7 @@ #if LLGL_WEBGL -#define LLGL_GLEXT_TRANSFORM_FEEDBACK +#define LLGL_GLEXT_TRANSFORM_FEEDBACK 1 #else // LLGL_WEBGL