diff options
author | dec05eba <dec05eba@protonmail.com> | 2021-12-02 17:51:53 +0100 |
---|---|---|
committer | dec05eba <dec05eba@protonmail.com> | 2021-12-02 17:52:40 +0100 |
commit | a77da0acc88c7fb861043fd0dcb9cc6536e591f1 (patch) | |
tree | 1711f4c5fd4f0474a080caf872ccb144f5d028dd /include/mgl/gl.h | |
parent | 8792ee2cc5b501f0611e6304f529226a495825db (diff) |
Window: add scissor
Diffstat (limited to 'include/mgl/gl.h')
-rw-r--r-- | include/mgl/gl.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/mgl/gl.h b/include/mgl/gl.h index 894e57b..2546a68 100644 --- a/include/mgl/gl.h +++ b/include/mgl/gl.h @@ -20,6 +20,7 @@ typedef struct { void (*glXSwapBuffers)(Display *dpy, GLXDrawable drawable); void (*glViewport)(int x, int y, int width, int height); + void (*glScissor)(int x, int y, int width, int height); void (*glClearColor)(float red, float green, float blue, float alpha); void (*glClear)(unsigned int mask); void (*glEnable)(unsigned int cap); |