Skip to content

Commit

Permalink
Add even more to the WASM GL header
Browse files Browse the repository at this point in the history
  • Loading branch information
RobDangerous committed Mar 2, 2025
1 parent 4d77e33 commit 973aa32
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions backends/system/wasm/includes/GL/gl.h
Original file line number Diff line number Diff line change
Expand Up @@ -136,6 +136,7 @@ typedef char GLchar;
#define GL_MAP_WRITE_BIT 0x0002
#define GL_PIXEL_PACK_BUFFER 0x88EB
#define GL_PIXEL_UNPACK_BUFFER 0x88EC
#define GL_FRAMEBUFFER_BINDING 0x8CA6

__attribute__((import_module("imports"), import_name("glUniform1i"))) void glUniform1i(GLint location, GLint v0);
__attribute__((import_module("imports"), import_name("glUniform2i"))) void glUniform2i(GLint location, GLint v0, GLint v1);
Expand Down

0 comments on commit 973aa32

Please sign in to comment.