aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authordec05eba <dec05eba@protonmail.com>2024-09-06 13:17:17 +0200
committerdec05eba <dec05eba@protonmail.com>2024-09-06 13:17:17 +0200
commit0f289b58bbd4a81f1d0288e89b5fef70719141a2 (patch)
tree59f5515c1f67f71f2cd269ea2c969c82ae2f037a /include
parentf756d5a0a72602a8f3d220a800fdfac20303d66a (diff)
Portal: fix external texture glitches
Diffstat (limited to 'include')
-rw-r--r--include/egl.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/egl.h b/include/egl.h
index e54f23d..f7f7209 100644
--- a/include/egl.h
+++ b/include/egl.h
@@ -266,6 +266,7 @@ struct gsr_egl {
void (*glTexParameteriv)(unsigned int target, unsigned int pname, const int *params);
void (*glGetTexLevelParameteriv)(unsigned int target, int level, unsigned int pname, int *params);
void (*glTexImage2D)(unsigned int target, int level, int internalFormat, int width, int height, int border, unsigned int format, unsigned int type, const void *pixels);
+ void (*glCopyImageSubData)(unsigned int srcName, unsigned int srcTarget, int srcLevel, int srcX, int srcY, int srcZ, unsigned int dstName, unsigned int dstTarget, int dstLevel, int dstX, int dstY, int dstZ, int srcWidth, int srcHeight, int srcDepth);
void (*glGetTexImage)(unsigned int target, int level, unsigned int format, unsigned int type, void *pixels);
void (*glGenFramebuffers)(int n, unsigned int *framebuffers);
void (*glBindFramebuffer)(unsigned int target, unsigned int framebuffer);