floating points packing for shaders

This commit is contained in:
minjaesong
2023-09-25 19:09:26 +09:00
parent 7623b120ac
commit 2c9f3ce1e5
5 changed files with 16 additions and 9 deletions

View File

@@ -7,7 +7,7 @@ import org.lwjgl.opengl.GL11
class TerrarumGLinfo {
private var _initialised = false
val MINIMAL_GL_VERSION = 320
val MINIMAL_GL_VERSION = 330
var GL_VERSION = -1; private set
get() = if (_initialised) field else throw UninitializedPropertyAccessException()