UltravioletFramework / ultraviolet

The Ultraviolet Framework is a .NET game development framework written in C#.
https://github.com/UltravioletFramework/ultraviolet/wiki
MIT License
542 stars 46 forks source link

Cannot ProcessWorkItems in custom timing logic. #134

Closed fireball87 closed 4 years ago

fireball87 commented 4 years ago

I had been trying to play with a custom timing logic recently again (though from a much different point than before, as I now am only just wanting to see if i can't figure out what is making my draws studder a bit with fixed framerates/vsync)

It seems as if "syncContext.ProcessWorkItems();" is not accessible from the scope of a custom timing.

tlgkccampbell commented 4 years ago

Commit 730b718b179d651d43dcb3acee2998482d0c1da4 changes ProcessSingleWorkItem() and ProcessWorkItems() on UltravioletSynchronizationContext from internal to public.