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();
|
||||
|
||||
try (NativeImage nativeImage = new NativeImage(size, size, false)) {
|
||||
// FIXME 1.17
|
||||
//GlStateManager.bindTexture(framebuffer.getColorAttachment());
|
||||
RenderSystem.bindTexture(framebuffer.getColorAttachment());
|
||||
nativeImage.loadFromTextureImage(0, false);
|
||||
nativeImage.mirrorVertically();
|
||||
|
||||
|
|
Loading…
Reference in a new issue