diff options
author | dec05eba <dec05eba@protonmail.com> | 2023-08-25 03:06:42 +0200 |
---|---|---|
committer | dec05eba <dec05eba@protonmail.com> | 2023-08-25 10:43:40 +0200 |
commit | 30d9f5392fb07105e792963d74786024adc79dd5 (patch) | |
tree | 47d21dff4323b03ab738366908f2171ba01a00c4 /include/mgl/mgl.h | |
parent | ef4a993d20ceb791ac62dd219ee7d63524e04a3e (diff) |
Add monitor events, limit fps to monitor the window is in, reduce latency (glFinish, fps limit)
Diffstat (limited to 'include/mgl/mgl.h')
-rw-r--r-- | include/mgl/mgl.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/include/mgl/mgl.h b/include/mgl/mgl.h index f2373b7..4e1a181 100644 --- a/include/mgl/mgl.h +++ b/include/mgl/mgl.h @@ -13,6 +13,12 @@ struct mgl_context { unsigned long wm_delete_window_atom; unsigned long net_wm_ping_atom; unsigned long net_wm_pid_atom; + + int render_event_base; + int render_error_base; + + int randr_event_base; + int randr_error_base; }; /* |