From 6f24133e291ccd784db38fed57d32c10f8c8cf7b Mon Sep 17 00:00:00 2001 From: David Robillard Date: Mon, 2 Mar 2020 23:25:53 +0100 Subject: Strengthen ultra-strict warnings with clang --- test/pugl_gl3_test.c | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to 'test/pugl_gl3_test.c') diff --git a/test/pugl_gl3_test.c b/test/pugl_gl3_test.c index e990c25..8b05665 100644 --- a/test/pugl_gl3_test.c +++ b/test/pugl_gl3_test.c @@ -147,8 +147,11 @@ onExpose(PuglView* view) app->numRects * sizeof(Rect), app->rects); - glDrawElementsInstanced( - GL_TRIANGLE_STRIP, 4, GL_UNSIGNED_INT, NULL, app->numRects * 4); + glDrawElementsInstanced(GL_TRIANGLE_STRIP, + 4, + GL_UNSIGNED_INT, + NULL, + (GLsizei)app->numRects * 4); ++app->framesDrawn; } -- cgit v1.2.1