aboutsummaryrefslogtreecommitdiff
path: root/src/egl.c
diff options
context:
space:
mode:
authordec05eba <dec05eba@protonmail.com>2025-03-30 03:36:39 +0200
committerdec05eba <dec05eba@protonmail.com>2025-03-30 03:36:39 +0200
commitc679b2fdb6a8172df4e29b1fb12b54d1891665de (patch)
tree7f49ffb957e84d264e9cd59d569a2d3d437c6d11 /src/egl.c
parentb8a521a785e1c40ef247e6536f284afd9e39922a (diff)
Use sampler2D for alpha blending compute shader instead of output image2D
Diffstat (limited to 'src/egl.c')
-rw-r--r--src/egl.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/egl.c b/src/egl.c
index 1138ae7..946399c 100644
--- a/src/egl.c
+++ b/src/egl.c
@@ -283,6 +283,7 @@ static bool gsr_egl_load_gl(gsr_egl *self, void *library) {
{ (void**)&self->glClearColor, "glClearColor" },
{ (void**)&self->glGenTextures, "glGenTextures" },
{ (void**)&self->glDeleteTextures, "glDeleteTextures" },
+ { (void**)&self->glActiveTexture, "glActiveTexture" },
{ (void**)&self->glBindTexture, "glBindTexture" },
{ (void**)&self->glBindImageTexture, "glBindImageTexture" },
{ (void**)&self->glTexParameteri, "glTexParameteri" },
@@ -332,6 +333,7 @@ static bool gsr_egl_load_gl(gsr_egl *self, void *library) {
{ (void**)&self->glGetUniformLocation, "glGetUniformLocation" },
{ (void**)&self->glUniform1f, "glUniform1f" },
{ (void**)&self->glUniform2f, "glUniform2f" },
+ { (void**)&self->glUniform1i, "glUniform1i" },
{ (void**)&self->glUniform2i, "glUniform2i" },
{ (void**)&self->glUniformMatrix2fv, "glUniformMatrix2fv" },
{ (void**)&self->glDebugMessageCallback, "glDebugMessageCallback" },