Updated FreeBSD native library.

This commit is contained in:
Florian Nücke 2014-06-12 00:24:17 +02:00
parent 149ade42ff
commit 78b40a57dd
3 changed files with 29 additions and 23 deletions

View File

@ -31,7 +31,8 @@ object TextBufferRenderCache extends Callable[Int] with RemovalListener[TileEnti
compileOrDraw(cache.get(currentBuffer, this))
}
private def compileOrDraw(list: Int) = if (currentBuffer.proxy.dirty) {
private def compileOrDraw(list: Int) = {
if (currentBuffer.proxy.dirty) {
RenderState.checkError(getClass.getName + ".compileOrDraw: entering (aka: wasntme)")
val doCompile = !RenderState.compilingDisplayList
@ -59,7 +60,12 @@ object TextBufferRenderCache extends Callable[Int] with RemovalListener[TileEnti
true
}
else GL11.glCallList(list)
else {
GL11.glCallList(list)
RenderState.checkError(getClass.getName + ".compileOrDraw: glCallList")
}
}
// ----------------------------------------------------------------------- //
// Cache