aboutsummaryrefslogtreecommitdiff
path: root/include/mgl/gl.h
diff options
context:
space:
mode:
authordec05eba <dec05eba@protonmail.com>2021-10-10 14:54:53 +0200
committerdec05eba <dec05eba@protonmail.com>2021-10-10 14:54:53 +0200
commitb81aff95e7924c38dbd1cf639011be1848af6967 (patch)
treec86ecf98fe0f2366473fc2f6cd84b3c7daf85bf9 /include/mgl/gl.h
parent54b2376adad98d91d32378efc3f241f120ba970f (diff)
Enable alpha blending
Diffstat (limited to 'include/mgl/gl.h')
-rw-r--r--include/mgl/gl.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/mgl/gl.h b/include/mgl/gl.h
index b5b6ca1..745e69d 100644
--- a/include/mgl/gl.h
+++ b/include/mgl/gl.h
@@ -18,6 +18,8 @@ typedef struct {
void (*glViewport)(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);
+ void (*glBlendFunc)(unsigned int sfactor, unsigned int dfactor);
/* Optional*/
void (*glXSwapIntervalEXT)(Display * dpy, GLXDrawable drawable, int interval);