diff options
| author | raysan5 <[email protected]> | 2021-07-27 23:35:54 +0200 |
|---|---|---|
| committer | raysan5 <[email protected]> | 2021-07-27 23:35:54 +0200 |
| commit | e9c7ab925fe3fb8530389f0e554496bdf3fa6ce9 (patch) | |
| tree | 08c6d29ca5a14ea96dac2c8ce395ce04f470668b /src/rlgl.h | |
| parent | 70ed52dd5d972a33268b603930ffbb9e1338da24 (diff) | |
| download | raylib-e9c7ab925fe3fb8530389f0e554496bdf3fa6ce9.tar.gz raylib-e9c7ab925fe3fb8530389f0e554496bdf3fa6ce9.zip | |
REVIEWED: rlDrawVertexArrayElements() #1891
Diffstat (limited to 'src/rlgl.h')
| -rw-r--r-- | src/rlgl.h | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -3121,7 +3121,7 @@ void rlDrawVertexArray(int offset, int count) void rlDrawVertexArrayElements(int offset, int count, void *buffer) { - glDrawElements(GL_TRIANGLES, count, GL_UNSIGNED_SHORT, (unsigned short*)buffer + offset); + glDrawElements(GL_TRIANGLES, count, GL_UNSIGNED_SHORT, (unsigned short *)buffer + offset); } void rlDrawVertexArrayInstanced(int offset, int count, int instances) @@ -3134,7 +3134,7 @@ void rlDrawVertexArrayInstanced(int offset, int count, int instances) void rlDrawVertexArrayElementsInstanced(int offset, int count, void *buffer, int instances) { #if defined(GRAPHICS_API_OPENGL_33) || defined(GRAPHICS_API_OPENGL_ES2) - glDrawElementsInstanced(GL_TRIANGLES, count, GL_UNSIGNED_SHORT, (unsigned short*)buffer + offset, instances); + glDrawElementsInstanced(GL_TRIANGLES, count, GL_UNSIGNED_SHORT, (unsigned short *)buffer + offset, instances); #endif } |
