mirror of
https://github.com/curioustorvald/Terrarum.git
synced 2026-06-13 03:54:06 +09:00
reducing number of warnings on the codebase
This commit is contained in:
@@ -75,7 +75,7 @@ object PostProcessor : Disposable {
|
||||
}
|
||||
|
||||
|
||||
debugUI.update(Gdx.graphics.rawDeltaTime)
|
||||
debugUI.update(Gdx.graphics.deltaTime)
|
||||
|
||||
|
||||
AppLoader.measureDebugTime("Renderer.PostProcessor") {
|
||||
@@ -135,11 +135,10 @@ object PostProcessor : Disposable {
|
||||
|
||||
fbo.colorBufferTexture.bind(0)
|
||||
|
||||
shader?.begin()
|
||||
shader?.bind()
|
||||
shader?.setUniformMatrix("u_projTrans", projMat)
|
||||
shader?.setUniformi("u_texture", 0)
|
||||
AppLoader.fullscreenQuad.render(shader, GL20.GL_TRIANGLES)
|
||||
shader?.end()
|
||||
|
||||
|
||||
Gdx.gl.glActiveTexture(GL20.GL_TEXTURE0) // so that batch that comes next will bind any tex to it
|
||||
|
||||
Reference in New Issue
Block a user