We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6f7a07d commit 3503e64Copy full SHA for 3503e64
src/main/kotlin/com/lambda/gui/DearImGui.kt
@@ -36,6 +36,7 @@ import imgui.glfw.ImGuiImplGlfw
36
import net.minecraft.client.gl.GlBackend
37
import net.minecraft.client.texture.GlTexture
38
import org.lwjgl.opengl.GL30.GL_FRAMEBUFFER
39
+import org.lwjgl.opengl.GL32C
40
import kotlin.math.abs
41
42
object DearImGui : Loadable {
@@ -120,6 +121,8 @@ object DearImGui : Loadable {
120
121
GuiEvent.EndFrame.post()
122
123
implGl3.renderDrawData(ImGui.getDrawData())
124
+
125
+ GlStateManager._glBindFramebuffer(GL_FRAMEBUFFER, 0)
126
}
127
128
fun destroy() {
0 commit comments