Some work on render command #2445
This commit is contained in:
parent
b8715ecdda
commit
1af68f5422
1 changed files with 1 additions and 2 deletions
|
@ -136,8 +136,7 @@ public class ItemStackRenderer implements HudRenderCallback {
|
||||||
framebuffer.endWrite();
|
framebuffer.endWrite();
|
||||||
|
|
||||||
try (NativeImage nativeImage = new NativeImage(size, size, false)) {
|
try (NativeImage nativeImage = new NativeImage(size, size, false)) {
|
||||||
// FIXME 1.17
|
RenderSystem.bindTexture(framebuffer.getColorAttachment());
|
||||||
//GlStateManager.bindTexture(framebuffer.getColorAttachment());
|
|
||||||
nativeImage.loadFromTextureImage(0, false);
|
nativeImage.loadFromTextureImage(0, false);
|
||||||
nativeImage.mirrorVertically();
|
nativeImage.mirrorVertically();
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue