Skip to content

Commit

Permalink
why did this happen
Browse files Browse the repository at this point in the history
  • Loading branch information
Wyvest committed Oct 16, 2024
1 parent 6402933 commit 88e9ef0
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ public void loadFont(long vg, Font font) {
int loaded = -1;
try {
ByteBuffer buffer = IOUtils.resourceToByteBuffer(font.getFileName(), font.getClass());
loaded = nvgCreateFontMem(vg, font.getName(), buffer, 0);
loaded = nvgCreateFontMem(vg, font.getName(), buffer, false);
font.setBuffer(buffer);
} catch (IOException e) {
e.printStackTrace();
Expand Down

0 comments on commit 88e9ef0

Please sign in to comment.