Fixed dolphin rendering.

This commit is contained in:
2026-03-29 18:42:59 -05:00
parent 6d7fbd3926
commit ef5febdde3
6 changed files with 81 additions and 9 deletions

View File

@@ -195,13 +195,16 @@ function sceneRender()
view = cameraGetViewMatrix(camera)
shaderSetMatrix(SHADER_UNLIT, SHADER_UNLIT_VIEW, view)
-- textDraw(10, 10, "Hello World\nHow are you?")
shaderSetTexture(SHADER_UNLIT, SHADER_UNLIT_TEXTURE, nil)
spriteBatchPush(
x, y,
x + 32, y + 32,
colorWhite()
)
spriteBatchFlush()
textDraw(10, 10, "Hello World\nHow are you?", colorRed())
spriteBatchFlush()
-- Update mouse position
-- if INPUT_POINTER then
@@ -258,5 +261,4 @@ function sceneRender()
-- )
-- end
-- end
spriteBatchFlush()
end