mirror of
https://gitlab.bixilon.de/bixilon/minosoft.git
synced 2025-09-19 12:25:12 -04:00
some opengl toString implementations (better debug log)
This commit is contained in:
parent
1fb2aac58e
commit
4523cfe7d8
@ -124,4 +124,6 @@ class OpenGLFramebuffer(
|
||||
throw MemoryLeakException("Buffer has not been unloaded!")
|
||||
}
|
||||
}
|
||||
|
||||
override fun toString() = "OpenGLFramebuffer(size=$size, color=$color, depth=$depth, state=$state)"
|
||||
}
|
||||
|
@ -72,7 +72,10 @@ class FloatOpenGLVertexBuffer(
|
||||
super.unload()
|
||||
}
|
||||
|
||||
override fun toString() = "FloatOpenGLVertexBuffer(vertices=$vertices, state=$state)"
|
||||
|
||||
private companion object {
|
||||
|
||||
val PrimitiveTypes.gl: Int
|
||||
get() {
|
||||
return when (this) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user