Skip to content

Problems with fullscreen window using DirectX11 gamma functionality #2045

@SDLBugzilla

Description

@SDLBugzilla

This bug report was migrated from our old Bugzilla tracker.

Reported in version: 2.0.3
Reported for operating system, platform: Windows 7, x86_64

Comments on the original bug report:

On 2015-12-07 16:04:55 +0000, wrote:

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.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions