Added a temporary /* */ around the check against _traits->vsync to avoid the errors reported with the current usage of RestoreContext for setting the vsync.

This commit is contained in:
Robert Osfield 2010-04-22 08:59:52 +00:00
parent be0e573f80
commit 60b906b9fe

View File

@ -1779,7 +1779,7 @@ bool GraphicsWindowWin32::realizeImplementation()
if (!_initialized) return false;
}
if (_traits.valid() && (_traits->sharedContext || _traits->vsync))
if (_traits.valid() && (_traits->sharedContext /*|| _traits->vsync*/))
{
// make context current so we can test capabilities and set up context sharing
struct RestoreContext