added timers to auto-hide help and for counting the time it took to solve the puzzle

This commit is contained in:
2023-11-17 06:16:32 +02:00
parent be4df6685c
commit 77435c5095
10 changed files with 241 additions and 47 deletions
+1
View File
@@ -96,6 +96,7 @@ int init_x11(Display **display, Window *window) {
XWindowAttributes win_attrs;
XGetWindowAttributes(*display, *window, &win_attrs);
glad_glXSwapIntervalEXT(*display, *window, 1);
// we enable blending for text
glEnable(GL_BLEND);
glBlendFunc(GL_SRC_ALPHA, GL_ONE_MINUS_SRC_ALPHA);