Browse Source

Mark devicePixelRatio unused in glnvg_renderViewport

shared-context
Gavin Howard 7 years ago
parent
commit
5022b370e4
No known key found for this signature in database GPG Key ID: C08038BDF280D33E
1 changed files with 1 additions and 0 deletions
  1. +1
    -0
      src/nanovg_gl.h

+ 1
- 0
src/nanovg_gl.h 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;


Loading…
Cancel
Save