mirror of
https://github.com/GTNewHorizons/Angelica.git
synced 2026-10-25 20:22:22 +00:00
Internal format fix (#2179)
This commit is contained in:
1 parent
a8e95f70c1
commit
d16c1e7cf6
1 file changed
+1
-1
@@ -221,7 +221,7 @@ public final class FontProviderCustom implements FontProvider {
|
||||
pixelBuffer.limit(image.getHeight() * image.getWidth());
|
||||
}
|
||||
|
||||
GLStateManager.glTexImage2D(GL11.GL_TEXTURE_2D, 0, GL12.GL_BGRA, image.getWidth(), image.getHeight(), 0, GL12.GL_BGRA, GL12.GL_UNSIGNED_INT_8_8_8_8_REV, pixelBuffer);
|
||||
GLStateManager.glTexImage2D(GL11.GL_TEXTURE_2D, 0, GL11.GL_RGBA, image.getWidth(), image.getHeight(), 0, GL12.GL_BGRA, GL12.GL_UNSIGNED_INT_8_8_8_8_REV, pixelBuffer);
|
||||
memFree(pixelBuffer);
|
||||
|
||||
this.texture = id;
|
||||
|
||||
Reference in new issue
Block a user