diff options
| author | Antonis Geralis <[email protected]> | 2022-11-24 01:58:31 +0200 |
|---|---|---|
| committer | GitHub <[email protected]> | 2022-11-24 00:58:31 +0100 |
| commit | 2c77b31e304688c4067503d70f539dbb9a496816 (patch) | |
| tree | 0cc1b7f7e1251434551d41ba64367edabede267c /src | |
| parent | c48de2d1afdeefa99c5ad7760ffe8873993c841c (diff) | |
| download | raylib-2c77b31e304688c4067503d70f539dbb9a496816.tar.gz raylib-2c77b31e304688c4067503d70f539dbb9a496816.zip | |
Correct types for rlBindImageTexture (#2808)
Diffstat (limited to 'src')
| -rw-r--r-- | src/rlgl.h | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -696,7 +696,7 @@ RLAPI void rlCopyShaderBuffer(unsigned int destId, unsigned int srcId, unsigned RLAPI unsigned int rlGetShaderBufferSize(unsigned int id); // Get SSBO buffer size // Buffer management -RLAPI void rlBindImageTexture(unsigned int id, unsigned int index, unsigned int format, int readonly); // Bind image texture +RLAPI void rlBindImageTexture(unsigned int id, unsigned int index, int format, bool readonly); // Bind image texture // Matrix state management RLAPI Matrix rlGetMatrixModelview(void); // Get internal modelview matrix @@ -4055,7 +4055,7 @@ void rlCopyShaderBuffer(unsigned int destId, unsigned int srcId, unsigned int de } // Bind image texture -void rlBindImageTexture(unsigned int id, unsigned int index, unsigned int format, int readonly) +void rlBindImageTexture(unsigned int id, unsigned int index, int format, bool readonly) { #if defined(GRAPHICS_API_OPENGL_43) unsigned int glInternalFormat = 0, glFormat = 0, glType = 0; |
