mirror of
https://gitlab.com/cc-ru/ocelot/ocelot-desktop.git
synced 2026-01-06 19:22:38 +01:00
Clear things like a normal person
This commit is contained in:
parent
2efec95103
commit
e7a2a1c6ee
@ -99,8 +99,7 @@ class ScreenViewport(private var _width: Int, private var _height: Int) extends
|
||||
GL11.glViewport(0, 0, _width, _height)
|
||||
GL11.glDisable(GL11.GL_SCISSOR_TEST)
|
||||
|
||||
val x = System.currentTimeMillis() % 1000 / 1000f
|
||||
GL11.glClearColor(x, x, x, 1f)
|
||||
GL11.glClearColor(0f, 0f, 0f, 1f)
|
||||
GL11.glClear(GL11.GL_COLOR_BUFFER_BIT)
|
||||
|
||||
Spritesheet.texture.bind()
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user