diff --git a/src/raylib.h b/src/raylib.h index d973e330c..cd31da621 100644 --- a/src/raylib.h +++ b/src/raylib.h @@ -1220,8 +1220,8 @@ RLAPI void UpdateCameraPro(Camera *camera, Vector3 movement, Vector3 rotation, f // NOTE: It can be useful when using basic shapes and one single font, // defining a font char white rectangle would allow drawing everything in a single draw call RLAPI void SetShapesTexture(Texture2D texture, Rectangle source); // Set texture and rectangle to be used on shapes drawing -RLAPI Texture2D GetShapesTexture(); // Get texture that is used for shapes drawing -RLAPI Rectangle GetShapesTextureRectangle(); // Get texture source rectangle that is used for shapes drawing +RLAPI Texture2D GetShapesTexture(void); // Get texture that is used for shapes drawing +RLAPI Rectangle GetShapesTextureRectangle(void); // Get texture source rectangle that is used for shapes drawing // Basic shapes drawing functions RLAPI void DrawPixel(int posX, int posY, Color color); // Draw a pixel diff --git a/src/rshapes.c b/src/rshapes.c index e9472efe5..518310757 100644 --- a/src/rshapes.c +++ b/src/rshapes.c @@ -113,13 +113,14 @@ void SetShapesTexture(Texture2D texture, Rectangle source) } // Get texture that is used for shapes drawing -Texture2D GetShapesTexture() +Texture2D GetShapesTexture(void) { return texShapes; } // Get texture source rectangle that is used for shapes drawing -Rectangle GetShapesTextureRectangle() +Rectangle GetShapesTextureRectangle(void) +Rectangle GetShapesTextureRectangle(void) { return texShapesRec; }