Skip to main content
GameDev.net gamedev.net
🔒 Locked

Changing thread priority when drawing

Started by Ro Mar 6, 2000 at 12:44 PM 0 replies 700+ views
Original Post
Ro
Ro
Is it reasonable and OK to change the main thread''s priority to something high just before drawing, and then revert back to normal priority after drawing?
nes8bit
nes8bit
It depends on if you are constantly drawing using a loop. If that is the case, set the thread priority in the start of the loop. I set the thread priority on my engine and saw no framerate increase at all. It depends on how you do it.

Topic Locked

This topic has been locked by a moderator. New replies are not allowed.

Sign in to reply to this topic.