using 'correct' gl version

This commit is contained in:
minjaesong
2022-01-27 00:09:39 +09:00
parent 71176dcc9e
commit d1d3086879
2 changed files with 2 additions and 2 deletions

View File

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