Thanks WendellM :)
Your example never does cause lag on this super-fast pc though, so here's another example that could for others:
PLEASE NOTE: this issue is a known issue and will rear it's head mostly in low poly / high fillrate situations - that is why it often escapes detection by BRL and so forth :)
Making a whole game, you come across this issue...
Here's another example for everyone:
Your example never does cause lag on this super-fast pc though, so here's another example that could for others:
PLEASE NOTE: this issue is a known issue and will rear it's head mostly in low poly / high fillrate situations - that is why it often escapes detection by BRL and so forth :)
Making a whole game, you come across this issue...
Here's another example for everyone:
'low poly and high fill rate causes the issue, solvable by flushing the driver's 'buffered frames using grab pixmap or locking a buffer with a large speed penalty. 'opengl is unaffected. 'change how many loops you do till you see the lag and not general slowdown 'this will vary from pc to pc 'SetGraphicsDriver GLMax2DDriver() Graphics 800,600,0,0 AutoMidHandle True image:TImage = LoadImage("arrow.png") 'any 32x32 image While Not KeyHit(KEY_ESCAPE) Cls mx = MouseX() my = MouseY() SetScale 8,8 For i = 0 To 2000 DrawImage image,mx,my Next Flip 0 'insert workarounds here Wend End