Merge pull request #442 from gavinhoward/master

Mark devicePixelRatio unused in glnvg_renderViewport
This commit is contained in:
Mikko Mononen 2017-12-19 07:42:19 +02:00 committed by GitHub
commit e70a78e42e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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;