Skip to content

Commit 16e8cda

Browse files
committed
Add method overwrite
1 parent 211ada8 commit 16e8cda

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/main/java/net/vulkanmod/mixin/render/GlStateManagerM.java

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -178,6 +178,8 @@ public static int _getTexLevelParameter(int i, int j, int k) {
178178
@Overwrite(remap = false)
179179
public static void _pixelStore(int pname, int param) {
180180
//Used during upload to set copy offsets
181+
RenderSystem.assertOnRenderThreadOrInit();
182+
GlTexture.pixelStoreI(pname, param);
181183
}
182184

183185
/**

0 commit comments

Comments
 (0)