diff options
author | David Robillard <d@drobilla.net> | 2020-03-02 23:25:53 +0100 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2020-03-02 23:25:53 +0100 |
commit | 6f24133e291ccd784db38fed57d32c10f8c8cf7b (patch) | |
tree | 8f55a0f1a86c88ec64f6b0c158f4b77ba2c54fef /test/pugl_gl3_test.c | |
parent | 1512dce0b223b5c17b43e6785fa5d988a95b49d4 (diff) | |
download | pugl-6f24133e291ccd784db38fed57d32c10f8c8cf7b.tar.gz pugl-6f24133e291ccd784db38fed57d32c10f8c8cf7b.tar.bz2 pugl-6f24133e291ccd784db38fed57d32c10f8c8cf7b.zip |
Strengthen ultra-strict warnings with clang
Diffstat (limited to 'test/pugl_gl3_test.c')
-rw-r--r-- | test/pugl_gl3_test.c | 7 |
1 files changed, 5 insertions, 2 deletions
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; } |