PR feedback, comply with C standards
This commit is contained in:
parent
bd830d8224
commit
6638543eed
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -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;
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user