From 5022b370e4b137178f72c0f34740f3ad50d540c0 Mon Sep 17 00:00:00 2001 From: Gavin Howard Date: Mon, 18 Dec 2017 16:13:16 -0700 Subject: [PATCH] Mark devicePixelRatio unused in glnvg_renderViewport --- src/nanovg_gl.h | 1 + 1 file changed, 1 insertion(+) diff --git a/src/nanovg_gl.h b/src/nanovg_gl.h index a6d5fac..75bdae2 100644 --- a/src/nanovg_gl.h +++ b/src/nanovg_gl.h @@ -991,6 +991,7 @@ static void glnvg__setUniforms(GLNVGcontext* gl, int uniformOffset, int image) static void glnvg__renderViewport(void* uptr, int width, int height, float devicePixelRatio) { + NVG_NOTUSED(devicePixelRatio); GLNVGcontext* gl = (GLNVGcontext*)uptr; gl->view[0] = (float)width; gl->view[1] = (float)height;