mirror of
https://github.com/curioustorvald/Terrarum.git
synced 2026-06-13 20:14:05 +09:00
removing default batch on blendxxx() funs
This commit is contained in:
@@ -161,7 +161,7 @@ object LoadScreen : ScreenAdapter() {
|
||||
Terrarum.batch.inUse {
|
||||
|
||||
|
||||
blendNormal()
|
||||
blendNormal(Terrarum.batch)
|
||||
Terrarum.fontGame
|
||||
it.color = Color.WHITE
|
||||
|
||||
@@ -169,7 +169,7 @@ object LoadScreen : ScreenAdapter() {
|
||||
Terrarum.fontGame.draw(it, textToPrint, ((textFbo.width - textWidth) / 2).toInt().toFloat(), 0f)
|
||||
|
||||
|
||||
blendMul()
|
||||
blendMul(Terrarum.batch)
|
||||
// draw colour overlay, flipped
|
||||
it.draw(textOverlayTex,
|
||||
(textFbo.width - textWidth) / 2f,
|
||||
@@ -184,7 +184,7 @@ object LoadScreen : ScreenAdapter() {
|
||||
Terrarum.batch.inUse {
|
||||
initViewPort(Terrarum.WIDTH, Terrarum.HEIGHT) // dunno, no render without this
|
||||
it.projectionMatrix = camera.combined
|
||||
blendNormal()
|
||||
blendNormal(Terrarum.batch)
|
||||
|
||||
|
||||
// almost black background
|
||||
@@ -251,7 +251,7 @@ object LoadScreen : ScreenAdapter() {
|
||||
|
||||
initViewPort(Terrarum.WIDTH, Terrarum.HEIGHT) // dunno, no render without this
|
||||
it.projectionMatrix = camera.combined
|
||||
blendNormal()
|
||||
blendNormal(Terrarum.batch)
|
||||
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user