|
|
@ -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; |
|
|
|