Pkeod
27
For OpenGL, Vulkan has one too.
https://www.glfw.org/GLFWUsersGuide273.pdf Newer but still lists the function.
Doesn’t look like a clear function is called right after opening the window for OpenGL or Vulkan, but I think it could be?
glClearColor(0, 0, 0, 1); – color from game.project ?
glClear( GL_COLOR_BUFFER_BIT );
glfwSwapBuffers();
builtin clear
1 Like