From e5310144b7b3bda62e3711420c53af73907ab2d4 Mon Sep 17 00:00:00 2001 From: Albrecht Schlosser Date: Tue, 31 Aug 2021 17:18:18 +0200 Subject: Fix MSVC 'GLfloat' warnings in test apps (#109) --- test/shape.cxx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'test/shape.cxx') diff --git a/test/shape.cxx b/test/shape.cxx index f87d59c0d..ec042e462 100644 --- a/test/shape.cxx +++ b/test/shape.cxx @@ -47,11 +47,11 @@ void shape_window::draw() { } // draw an amazing graphic: glClear(GL_COLOR_BUFFER_BIT); - glColor3f(.5,.6,.7); + glColor3f(.5f, .6f, .7f); glBegin(GL_POLYGON); for (int j=0; j