summaryrefslogtreecommitdiffhomepage
path: root/examples/textures/textures_mouse_painting.c
diff options
context:
space:
mode:
Diffstat (limited to 'examples/textures/textures_mouse_painting.c')
-rw-r--r--examples/textures/textures_mouse_painting.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/textures/textures_mouse_painting.c b/examples/textures/textures_mouse_painting.c
index 30fd390f..5cfbe6e0 100644
--- a/examples/textures/textures_mouse_painting.c
+++ b/examples/textures/textures_mouse_painting.c
@@ -177,7 +177,7 @@ int main(void)
// Draw drawing circle for reference
if (mousePos.y > 50)
{
- if (IsMouseButtonDown(MOUSE_RIGHT_BUTTON)) DrawCircleLines(mousePos.x, mousePos.y, brushSize, GRAY);
+ if (IsMouseButtonDown(MOUSE_RIGHT_BUTTON)) DrawCircleLines((int)mousePos.x, (int)mousePos.y, brushSize, GRAY);
else DrawCircle(GetMouseX(), GetMouseY(), brushSize, colors[colorSelected]);
}