Viewport and CameraViewport is not the same.
Are you using Fullscreen or Windowed Mode?
Try to
setbuffer backbuffer()
Renderworld
draw all 2d stuff including gui etc.
flip (only once)
maybe you should try to use the hardware sync to flip, something like:
vwait: flip false
Are you using Fullscreen or Windowed Mode?
Try to
setbuffer backbuffer()
Renderworld
draw all 2d stuff including gui etc.
flip (only once)
maybe you should try to use the hardware sync to flip, something like:
vwait: flip false