Is it possible to have a maxGUI game in a window, not using flip(1) without any tearing? Or should I just not bother using maxGUI for games?
I can get smooth animation with no tearing using flip(1) but then it hogs all the cpu cycles. If I use flip(0) or flip(-1) then the cpu cycles are minimal but I get tearing. I'm making a small cross platform windowed toy to have on the desktop so it can't be taking up all the cpu cycles as it's for people to have open and play with while they are doing other things as well. The tearing is especially noticeable when the mouse pointer goes over the canvas. The pointer turns into an image and if you move it around just even moderately fast it tears like crazy.
I'm at work so I don't have code to post, but if anybody would explain to me a opengl setup that won't tear and won't hog the cpu that would be great. I searched through the forums but couldn't find anything that worked. Otherwise I will have to live without some of the things I would like to use maxGUI for.
Thank you,
James
I can get smooth animation with no tearing using flip(1) but then it hogs all the cpu cycles. If I use flip(0) or flip(-1) then the cpu cycles are minimal but I get tearing. I'm making a small cross platform windowed toy to have on the desktop so it can't be taking up all the cpu cycles as it's for people to have open and play with while they are doing other things as well. The tearing is especially noticeable when the mouse pointer goes over the canvas. The pointer turns into an image and if you move it around just even moderately fast it tears like crazy.
I'm at work so I don't have code to post, but if anybody would explain to me a opengl setup that won't tear and won't hog the cpu that would be great. I searched through the forums but couldn't find anything that worked. Otherwise I will have to live without some of the things I would like to use maxGUI for.
Thank you,
James