Skip to content

Commit

Permalink
Update nanovg
Browse files Browse the repository at this point in the history
  • Loading branch information
xfangfang committed Nov 19, 2024
1 parent 14ed2f9 commit 326816f
Show file tree
Hide file tree
Showing 4 changed files with 264 additions and 218 deletions.
2 changes: 1 addition & 1 deletion library/include/borealis/extern/nanovg/nanovg_gxm.h
Original file line number Diff line number Diff line change
Expand Up @@ -972,7 +972,7 @@ static int gxmnvg__renderUpdateTexture(void* uptr, int image, int x, int y, int

for (int i = 0; i < h; i++)
{
int start = ((i + y) * tex->stride + x) * spp;
int start = (i + y) * tex->stride + x * spp;
memcpy(tex->tex_data + start, data + start, w * spp);
}

Expand Down
Loading

0 comments on commit 326816f

Please sign in to comment.