diff options
| author | raysan5 <raysan5@gmail.com> | 2018-12-24 14:09:51 +0100 |
|---|---|---|
| committer | raysan5 <raysan5@gmail.com> | 2018-12-24 14:09:51 +0100 |
| commit | 92f68ac6be5b85b85ebab64841c8322405e08d51 (patch) | |
| tree | e568ccf044c57b805654a4e6c7f423127d8dbd18 /src/rlgl.h | |
| parent | 4ec4dc691f5a41ef85d8ee07295e897e368bc8c7 (diff) | |
| download | raylib-92f68ac6be5b85b85ebab64841c8322405e08d51.tar.gz raylib-92f68ac6be5b85b85ebab64841c8322405e08d51.zip | |
Review DrawPolyEx()
Also reviewed rlCheckBufferLimit()
Diffstat (limited to 'src/rlgl.h')
| -rw-r--r-- | src/rlgl.h | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -435,7 +435,7 @@ void rlglClose(void); // De-inititialize rlgl (buffers void rlglDraw(void); // Update and draw default internal buffers int rlGetVersion(void); // Returns current OpenGL version -bool rlCheckBufferLimit(int type, int vCount); // Check internal buffer overflow for a given number of vertex +bool rlCheckBufferLimit(int vCount); // Check internal buffer overflow for a given number of vertex void rlSetDebugMarker(const char *text); // Set debug marker for analysis void rlLoadExtensions(void *loader); // Load OpenGL extensions Vector3 rlUnproject(Vector3 source, Matrix proj, Matrix view); // Get world coordinates from screen coordinates @@ -1738,7 +1738,7 @@ int rlGetVersion(void) } // Check internal buffer overflow for a given number of vertex -bool rlCheckBufferLimit(int type, int vCount) +bool rlCheckBufferLimit(int vCount) { bool overflow = false; #if defined(GRAPHICS_API_OPENGL_33) || defined(GRAPHICS_API_OPENGL_ES2) |
