mirror of
https://github.com/SquidDev-CC/CC-Tweaked
synced 2025-11-23 00:24:49 +00:00
Attempting to update to 1.17.
Todo: refactor rendering to avoid using direct GL calls, instead I've read that you could use a `BufferBuilder` but need to do more looking into that. Also need to update some block entity things, since some calls are also gone.
This commit is contained in:
@@ -44,7 +44,7 @@ public class GuiTurtle extends GuiComputer<ContainerTurtle>
|
||||
terminal.draw( terminalWrapper.getX(), terminalWrapper.getY() );
|
||||
|
||||
// Draw border/inventory
|
||||
RenderSystem.color4f( 1.0F, 1.0F, 1.0F, 1.0F );
|
||||
RenderSystem.clearColor( 1.0F, 1.0F, 1.0F, 1.0F );
|
||||
client.getTextureManager()
|
||||
.bindTexture( texture );
|
||||
drawTexture( transform, x, y, 0, 0, backgroundWidth, backgroundHeight );
|
||||
|
||||
Reference in New Issue
Block a user