setgraphicsdriver.bmx 311 B

1234567891011121314151617
  1. SetGraphicsDriver GLMax2DDriver()
  2. Graphics 640,480
  3. DrawText "OpenGL Max2D Graphics! Hit any key (next to the whatever key)...",0,0
  4. Flip
  5. WaitKey
  6. EndGraphics
  7. SetGraphicsDriver GLGraphicsDriver()
  8. Graphics 640,480
  9. glClear GL_COLOR_BUFFER_BIT
  10. GLDrawText "'Raw' OpenGL Graphics! Hit any key...",0,0
  11. Flip
  12. WaitKey