This seems to work:
DrawOval()only seems to work if I set a specific graphics driver but DrawRect() works without seting a graphics driver?
' keydown.bmx ' the following code draws a circle if the ' program detects the spacebar is pressed ' and exits when it detects the ESCAPE key has ' been pressed ' DrawOval only seems to work if I set a specific graphics driver ' but DrawRect() works without seting a graphics driver ????? SetGraphicsDriver GLMax2DDriver() '<<<<< comment this out to test! Graphics 640,480 While Not KeyHit(KEY_ESCAPE) Cls If KeyDown(KEY_SPACE) Then SetColor 255,255,0 DrawOval 50,50,100,100 SetColor 0,0,255 DrawRect 250, 50, 50, 50 End If Flip Wend
DrawOval()only seems to work if I set a specific graphics driver but DrawRect() works without seting a graphics driver?