mirror of
https://github.com/memononen/nanovg
synced 2026-09-26 16:19:07 +03:00
Merge pull request #442 from gavinhoward/master
Mark devicePixelRatio unused in glnvg_renderViewport
This commit is contained in:
commit
e70a78e42e
1 changed files with 1 additions and 0 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue