summaryrefslogtreecommitdiff
path: root/Demos/Cube/Cube.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'Demos/Cube/Cube.cpp')
-rw-r--r--Demos/Cube/Cube.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/Demos/Cube/Cube.cpp b/Demos/Cube/Cube.cpp
index 8cd78d1d12..36faa2deaf 100644
--- a/Demos/Cube/Cube.cpp
+++ b/Demos/Cube/Cube.cpp
@@ -145,7 +145,7 @@ void Cube::timer_event(Core::TimerEvent&)
painter.fill_rect_with_gradient(Gfx::Orientation::Vertical, m_bitmap->rect(), Gfx::Color::White, Gfx::Color::Blue);
auto to_point = [](const FloatVector3& v) {
- return Gfx::Point(v.x(), v.y());
+ return Gfx::IntPoint(v.x(), v.y());
};
for (size_t i = 0; i < sizeof(indices) / sizeof(indices[0]) / 3; i++) {