Update rlgl.h

- Fixed typo: changed `rlClearScreenBuffersEX()` to `rlClearScreenBuffersEx()`
This commit is contained in:
Chris DeBoy 2025-10-15 15:12:19 -07:00 committed by GitHub
parent faeb1e98ec
commit 693cc8db18
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -712,7 +712,7 @@ RLAPI bool rlIsStereoRenderEnabled(void); // Check if stereo rende
RLAPI void rlClearColor(unsigned char r, unsigned char g, unsigned char b, unsigned char a); // Clear color buffer with color RLAPI void rlClearColor(unsigned char r, unsigned char g, unsigned char b, unsigned char a); // Clear color buffer with color
RLAPI void rlClearScreenBuffers(void); // Clear used screen buffers (color and depth) RLAPI void rlClearScreenBuffers(void); // Clear used screen buffers (color and depth)
RLAPI void rlClearScreenBuffersEX(rlBufferBitFlags flags); // Clear used screen buffers (selectable with '|'-separated flags) RLAPI void rlClearScreenBuffersEx(rlBufferBitFlags flags); // Clear used screen buffers (selectable with '|'-separated flags)
RLAPI void rlCheckErrors(void); // Check and log OpenGL error codes RLAPI void rlCheckErrors(void); // Check and log OpenGL error codes
RLAPI void rlSetBlendMode(int mode); // Set blending mode RLAPI void rlSetBlendMode(int mode); // Set blending mode
RLAPI void rlSetBlendFactors(int glSrcFactor, int glDstFactor, int glEquation); // Set blending mode factor and equation (using OpenGL factors) RLAPI void rlSetBlendFactors(int glSrcFactor, int glDstFactor, int glEquation); // Set blending mode factor and equation (using OpenGL factors)
@ -2118,7 +2118,7 @@ void rlClearColor(unsigned char r, unsigned char g, unsigned char b, unsigned ch
// Clears the depth buffer. Useful for drawing first person weapons over the // Clears the depth buffer. Useful for drawing first person weapons over the
// rendered scene without them clipping through world geometry. // rendered scene without them clipping through world geometry.
void rlClearScreenBuffersEX(rlBufferBitFlags flags) void rlClearScreenBuffersEx(rlBufferBitFlags flags)
{ {
glClear(flags); glClear(flags);
} }