Correct types for rlBindImageTexture (#2808)
This commit is contained in:
parent
c48de2d1af
commit
2c77b31e30
1 changed files with 2 additions and 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
|
RLAPI unsigned int rlGetShaderBufferSize(unsigned int id); // Get SSBO buffer size
|
||||||
|
|
||||||
// Buffer management
|
// 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
|
// Matrix state management
|
||||||
RLAPI Matrix rlGetMatrixModelview(void); // Get internal modelview matrix
|
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
|
// 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)
|
#if defined(GRAPHICS_API_OPENGL_43)
|
||||||
unsigned int glInternalFormat = 0, glFormat = 0, glType = 0;
|
unsigned int glInternalFormat = 0, glFormat = 0, glType = 0;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue