aboutsummaryrefslogtreecommitdiff
path: root/src/frontend/qt_sdl
diff options
context:
space:
mode:
authorRSDuck <rsduck@users.noreply.github.com>2021-01-02 19:58:49 +0100
committerRSDuck <rsduck@users.noreply.github.com>2021-01-02 19:58:49 +0100
commitcb58a422ac59f40825f7a7c2e9b75237eb04637d (patch)
treebf78ac6cd800dbaa5faffc4850106499852c0e37 /src/frontend/qt_sdl
parent7d448d911d862c06255873820aee32487fbc4943 (diff)
fix mac/clang build again
Diffstat (limited to 'src/frontend/qt_sdl')
-rw-r--r--src/frontend/qt_sdl/main.cpp26
1 files changed, 13 insertions, 13 deletions
diff --git a/src/frontend/qt_sdl/main.cpp b/src/frontend/qt_sdl/main.cpp
index dccc7f1..fca6940 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, 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.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.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);