Monkey
Store
Community
Apps
Contact
Login or Signup

What the hell....

Monkey Programming Forums/GLFW/What the hell....

bruZard(Posted 1+ years ago) 
I've a strange problem: all bananas runs fine with target "glfw", just my own minimal try does not.
'Strict

Import mojo

Function Main()
	New myGame
End Function


Class myGame Extends App
	Field screen:Image
	
	Method OnCreate()
		screen = LoadImage("screen.png")
		SetUpdateRate(30)
	End
	
	Method OnUpdate()
	End
	
	Method OnRender()
		PushMatrix()
		DrawImage(screen, 0, 0)
		PopMatrix()
	End
End Class

all other targets works fine, just glfw not. Any idea whats going wrong?