From b81aff95e7924c38dbd1cf639011be1848af6967 Mon Sep 17 00:00:00 2001 From: dec05eba Date: Sun, 10 Oct 2021 14:54:53 +0200 Subject: Enable alpha blending --- include/mgl/gl.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'include') 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); -- cgit v1.2.3