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

DXUT V-Sync Multithread Issue

Started by thekiwimaddog Sep 19, 2012 at 5:17 PM 0 replies 1.7k views
Original Post
thekiwimaddog
thekiwimaddog
Hi everyone!

I'm using DXUT as a basis for my main loop. I have a separate thread running during loadup which loads all the textures, models etc. When I turn V-Sync on the loading on the other thread slows down dramatically. If I turn V-Sync off it loads much faster. This seems odd to me as I thought V-Sync would free up the other thread to run faster when it was on and not the other way around. Is this an expected result or have I made a mistake somewhere?
Does anyone have any insight into what might be causing the issue as I've been messing arround with thread priorities and they don't seem to make any difference.

The only thing that does help is if I sleep for a few miliseconds in the Main Update loop.

Thanks in advance for any help!

David

Topic Locked

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

Sign in to reply to this topic.