2d opengl?

BlitzMax Forums/BlitzMax Beginners Area/2d opengl?

The Forum Archive is locked. These are the original blitzbasic.com forums, kept so their posts can still be read and searched. No new topics, replies or edits can be made here. To join the conversation, 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