meson: add -Wfloat-conversion

This commit is contained in:
Kirill Primak 2022-09-19 00:16:24 +03:00
parent 2ad25b1460
commit cf857ecf7b
31 changed files with 220 additions and 204 deletions

View file

@ -26,9 +26,9 @@ static void render_frame(void) {
glViewport(0, 0, width, height);
if (keys) {
glClearColor(1.0, 1.0, 1.0, 1.0);
glClearColor(1.0f, 1.0f, 1.0f, 1.0f);
} else {
glClearColor(0.8, 0.4, 1.0, 1.0);
glClearColor(0.8f, 0.4f, 1.0f, 1.0f);
}
glClear(GL_COLOR_BUFFER_BIT);