Skip to content

Commit

Permalink
enable doublebuffer
Browse files Browse the repository at this point in the history
  • Loading branch information
JGNieto committed Mar 20, 2024
1 parent f700307 commit 92c101a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion chess_gui.c
Original file line number Diff line number Diff line change
Expand Up @@ -547,7 +547,7 @@ void chess_gui_print(void) {
}

void chess_gui_init(void) {
gl_init(SCREEN_WIDTH, SCREEN_HEIGHT, GL_SINGLEBUFFER);
gl_init(SCREEN_WIDTH, SCREEN_HEIGHT, GL_DOUBLEBUFFER);
memcpy(board, STARTING_BOARD, sizeof(STARTING_BOARD));

sidebar.W[0] = sidebar.D[0] = sidebar.L[0] = '*';
Expand Down

0 comments on commit 92c101a

Please sign in to comment.