Skip to content

Commit e151d0d

Browse files
committed
uhhh more testing was necessary
1 parent 44e569e commit e151d0d

File tree

2 files changed

+0
-4
lines changed
  • src/main/kotlin/com/github/subat0m1c/hatecheaters

2 files changed

+0
-4
lines changed

src/main/kotlin/com/github/subat0m1c/hatecheaters/pvgui/v2/utils/Utils.kt

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,6 @@ object Utils {
5656

5757
fun drawPlayerOnScreen(x: Double, y: Double, scale: Int, mouseX: Int, mouseY: Int, renderPlayer: EntityLivingBase) {
5858
GlStateManager.pushMatrix() // stopdraw pops a matrix and attributes so we want to eat them for future rendering. This doesnt work perfectly though so its still weird...
59-
GlStateManager.pushAttrib()
6059
Shaders.stopDraw()
6160
GlStateManager.pushMatrix()
6261
Colors.WHITE

src/main/kotlin/com/github/subat0m1c/hatecheaters/utils/odinwrappers/Shaders.kt

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@ package com.github.subat0m1c.hatecheaters.utils.odinwrappers
22

33
import me.odinmain.OdinMain.mc
44
import me.odinmain.utils.ui.rendering.NVGRenderer
5-
import net.minecraft.client.renderer.GlStateManager
65

76
object Shaders {
87
fun scale(scale: Float) {
@@ -30,8 +29,6 @@ object Shaders {
3029

3130
fun startDraw(x: Float = mc.displayWidth.toFloat(), y: Float = mc.displayHeight.toFloat()) {
3231
NVGRenderer.beginFrame(x, y)
33-
GlStateManager.popMatrix()
34-
GlStateManager.popAttrib()
3532
}
3633

3734
fun stopDraw() {

0 commit comments

Comments
 (0)