From cb58a422ac59f40825f7a7c2e9b75237eb04637d Mon Sep 17 00:00:00 2001 From: RSDuck Date: Sat, 2 Jan 2021 19:58:49 +0100 Subject: [PATCH] fix mac/clang build again --- src/frontend/qt_sdl/main.cpp | 24 ++++++++++++------------ 1 file changed, 12 insertions(+), 12 deletions(-) diff --git a/src/frontend/qt_sdl/main.cpp b/src/frontend/qt_sdl/main.cpp index dccc7f18..fca69400 100644 --- a/src/frontend/qt_sdl/main.cpp +++ b/src/frontend/qt_sdl/main.cpp @@ -874,19 +874,19 @@ void ScreenPanelGL::initializeGL() const float vertices[] = { - 0, 0, 0, 0, - 0, 192, 0, 0.5 - padPixels, - 256, 192, 1, 0.5 - padPixels, - 0, 0, 0, 0, - 256, 192, 1, 0.5 - padPixels, - 256, 0, 1, 0, + 0.f, 0.f, 0.f, 0.f, + 0.f, 192.f, 0.f, 0.5f - padPixels, + 256.f, 192.f, 1.f, 0.5f - padPixels, + 0.f, 0.f, 0.f, 0.f, + 256.f, 192.f, 1.f, 0.5f - padPixels, + 256.f, 0.f, 1.f, 0.f, - 0, 0, 0, 0.5 + padPixels, - 0, 192, 0, 1, - 256, 192, 1, 1, - 0, 0, 0, 0.5 + padPixels, - 256, 192, 1, 1, - 256, 0, 1, 0.5 + padPixels + 0.f, 0.f, 0.f, 0.5f + padPixels, + 0.f, 192.f, 0.f, 1.f, + 256.f, 192.f, 1.f, 1.f, + 0.f, 0.f, 0.f, 0.5f + padPixels, + 256.f, 192.f, 1.f, 1.f, + 256.f, 0.f, 1.f, 0.5f + padPixels }; glGenBuffers(1, &screenVertexBuffer);