mirror of
https://github.com/allemangD/toddcox-visualize.git
synced 2025-11-10 12:02:47 -05:00
add clear/swap at initialization to prevent linux screen buffer issue on debug
This commit is contained in:
@@ -63,6 +63,8 @@ int main(int argc, char *argv[]) {
|
||||
glfwMakeContextCurrent(window);
|
||||
gladLoadGLLoader((GLADloadproc) glfwGetProcAddress);
|
||||
glfwSwapInterval(0);
|
||||
glClear(GL_COLOR_BUFFER_BIT);
|
||||
glfwSwapBuffers(window);
|
||||
//endregion
|
||||
|
||||
std::cout << utilInfo();
|
||||
|
||||
Reference in New Issue
Block a user