Sign in to follow this  
thekiwimaddog

DXUT V-Sync Multithread Issue

Recommended Posts

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

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this