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 2d438a5 commit 14ca922Copy full SHA for 14ca922
src/main/kotlin/com/lambda/graphics/texture/Texture.kt
@@ -23,7 +23,6 @@ import com.lambda.graphics.texture.TextureUtils.setupTexture
23
import com.lambda.util.LambdaResource
24
import com.lambda.util.readImage
25
import net.minecraft.client.texture.NativeImage
26
-import org.lwjgl.opengl.GL45C.GL_BGRA
27
import org.lwjgl.opengl.GL45C.GL_BLUE
28
import org.lwjgl.opengl.GL45C.GL_GREEN
29
import org.lwjgl.opengl.GL45C.GL_LINEAR
@@ -243,7 +242,7 @@ open class Texture {
243
242
TYPE_BYTE_GRAY to GL_RG,
244
TYPE_INT_RGB to GL_RGB,
245
TYPE_INT_ARGB to GL_RGBA,
246
- TYPE_4BYTE_ABGR to GL_BGRA,
+ TYPE_4BYTE_ABGR to GL_RGBA,
247
)
248
}
249
0 commit comments