2d opengl?

BlitzMax Forums/BlitzMax Beginners Area/2d opengl?

The forum is locked. These are the original blitzbasic.com forums, kept so they can still be read. No new topics, replies or edits can be made here. To join in, head over to the Blitz3D+ forums.

This is your code changed multiplatform compliant.

?win32
SetGraphicsDriver BufferedD3D7Max2DDriver()
?

?MacOS
SetGraphicsDriver GLMax2DDriver()
?

?Linux
SetGraphicsDriver GLMax2DDriver()
?


Graphics 640, 480, 32, 60

HideMouse 

While Not KeyHit( KEY_ESCAPE ) 

Cls

DrawText "Test!",0,0

Flip

Wend

ShowMouse