mirror of
https://gitlab.bixilon.de/bixilon/minosoft.git
synced 2025-09-15 18:34:56 -04:00
opengl font array: don't copy gb values
It uses `GL_RED` internally, so the other components are never touched. Small loading improvement
This commit is contained in:
parent
75ed3fdb2d
commit
c2f3a7c00b
@ -120,8 +120,8 @@ class OpenGLFontTextureArray(
|
|||||||
val offset = index * 4
|
val offset = index * 4
|
||||||
val alpha = this[offset + 3]
|
val alpha = this[offset + 3]
|
||||||
this.put(offset + 0, alpha)
|
this.put(offset + 0, alpha)
|
||||||
this.put(offset + 1, alpha)
|
// this.put(offset + 1, alpha)
|
||||||
this.put(offset + 2, alpha)
|
// this.put(offset + 2, alpha)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user