From bfc41f3f13710f7fc50989215fb844a24466d9bb Mon Sep 17 00:00:00 2001 From: Larpon Date: Thu, 14 Oct 2021 12:36:44 +0200 Subject: [PATCH] Add glReadPixels to _SG_GL_FUNCS --- sokol_gfx.h | 1 + 1 file changed, 1 insertion(+) diff --git a/sokol_gfx.h b/sokol_gfx.h index 454c87db8..e084e2453 100644 --- a/sokol_gfx.h +++ b/sokol_gfx.h @@ -4762,6 +4762,7 @@ _SOKOL_PRIVATE void _sg_dummy_update_image(_sg_image_t* img, const sg_image_data _SG_XMACRO(glBlendFunc, void, (GLenum sfactor, GLenum dfactor)) \ _SG_XMACRO(glUniform1fv, void, (GLint location, GLsizei count, const GLfloat * value)) \ _SG_XMACRO(glReadBuffer, void, (GLenum src)) \ + _SG_XMACRO(glReadPixels, void, (GLint x, GLint y, GLsizei width, GLsizei height, GLenum format, GLenum type, void * data)) \ _SG_XMACRO(glClear, void, (GLbitfield mask)) \ _SG_XMACRO(glTexImage2D, void, (GLenum target, GLint level, GLint internalformat, GLsizei width, GLsizei height, GLint border, GLenum format, GLenum type, const void * pixels)) \ _SG_XMACRO(glGenVertexArrays, void, (GLsizei n, GLuint * arrays)) \