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/gl.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/gl.h')
-rw-r--r-- | include/mgl/gl.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/mgl/gl.h b/include/mgl/gl.h index cf2cd47..c1059b6 100644 --- a/include/mgl/gl.h +++ b/include/mgl/gl.h @@ -77,6 +77,8 @@ typedef struct { const unsigned char* (*glGetString)(unsigned int name); void (*glGetIntegerv)(unsigned int pname, int *params); void (*glPixelStorei)(unsigned int pname, int param); + void (*glFlush)(void); + void (*glFinish)(void); /* Optional*/ void (*glXSwapIntervalEXT)(Display * dpy, GLXDrawable drawable, int interval); |