using gl32 shaders for other runnables

This commit is contained in:
minjaesong
2023-02-28 22:59:32 +09:00
parent e13cfd37b0
commit 2474583a86
9 changed files with 12 additions and 13 deletions

View File

@@ -9,7 +9,7 @@ import com.badlogic.gdx.graphics.g2d.TextureRegion
*
* Created by minjaesong on 2021-12-13.
*/
class FlippingSpriteBatch(size: Int = 1000) : SpriteBatch(size, MacosGL32Shaders.createSpriteBatchShader()) {
class FlippingSpriteBatch(size: Int = 1000) : SpriteBatch(size, DefaultGL32Shaders.createSpriteBatchShader()) {
/**
* This function draws the flipped version of the image by giving flipped uv-coord to the SpriteBatch