mirror of
https://github.com/IllusionMan1212/cudoku.git
synced 2026-10-25 10:12:26 +00:00
added timers to auto-hide help and for counting the time it took to solve the puzzle
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user