diff options
author | dec05eba <dec05eba@protonmail.com> | 2021-10-10 14:54:53 +0200 |
---|---|---|
committer | dec05eba <dec05eba@protonmail.com> | 2021-10-10 14:54:53 +0200 |
commit | b81aff95e7924c38dbd1cf639011be1848af6967 (patch) | |
tree | c86ecf98fe0f2366473fc2f6cd84b3c7daf85bf9 /include | |
parent | 54b2376adad98d91d32378efc3f241f120ba970f (diff) |
Enable alpha blending
Diffstat (limited to 'include')
-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 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); |