Fixed dolphin rendering.
This commit is contained in:
1 parent
6d7fbd3926
commit
ef5febdde3
6 files changed
+81
-9
No files matched your search
@@ -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
|
||||
Reference in new issue
Block a user