mirror of
https://github.com/MightyPirates/OpenComputers.git
synced 2025-09-10 15:56:41 -04:00
Hi.
This commit is contained in:
parent
08f20645d4
commit
f26ae2d1c6
@ -83,7 +83,7 @@ abstract class TextureFontRenderer {
|
||||
GL11.glBegin(GL11.GL_QUADS)
|
||||
var cfg = -1
|
||||
var tx = 0f
|
||||
for (n <- 0 until line.length) {
|
||||
for (n <- line.indices) {
|
||||
val ch = line(n)
|
||||
val col = PackedColor.unpackForeground(color(n), format)
|
||||
// Check if color changed.
|
||||
|
@ -16,7 +16,7 @@ object BufferRenderer {
|
||||
|
||||
private var displayLists = 0
|
||||
|
||||
def init(tm: TextureManager) = this.synchronized(if (!textureManager.isDefined) {
|
||||
def init(tm: TextureManager) = this.synchronized(if (textureManager.isEmpty) {
|
||||
RenderState.checkError(getClass.getName + ".displayLists: entering (aka: wasntme)")
|
||||
|
||||
textureManager = Some(tm)
|
||||
|
Loading…
x
Reference in New Issue
Block a user