We are currently migrating Bugzilla to GitHub issues.
Any changes made to the bug tracker now will be lost, so please do not post new bugs or make changes to them.
When we're done, all bug URLs will redirect to their equivalent location on the new bug tracker.

Bug 3203 - Problems with fullscreen window using DirectX11 gamma functionality
Summary: Problems with fullscreen window using DirectX11 gamma functionality
Status: ASSIGNED
Alias: None
Product: SDL
Classification: Unclassified
Component: video (show other bugs)
Version: 2.0.3
Hardware: x86_64 Windows 7
: P2 normal
Assignee: Ryan C. Gordon
QA Contact: Sam Lantinga
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-12-07 16:04 UTC by klose
Modified: 2017-08-12 22:02 UTC (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description klose 2015-12-07 16:04:55 UTC
We are using SDL with DirectX11 and the gamma functionality of DirectX. 

When switching to fullscreen mode and changing the gamma everything works fine.

But when pressing alt + tab and then restoring the window, the window does not switch to fullscreen mode properly, the gamma doesn't work anymore.

DirectX outputs the error: DXGI ERROR: IDXGIOutput::GetGammaControlCapabilities: This function can only be called if TakeOwnership has been called. [ MISCELLANEOUS ERROR #47: ]

But calling TakeOwnership doesn't solve the problem. Switching back to window mode and then back to fullscreen solves the problem.