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 4360 - Window forgets w & h when created maximized and attaching an openGL renderer
Summary: Window forgets w & h when created maximized and attaching an openGL renderer
Status: NEW
Alias: None
Product: SDL
Classification: Unclassified
Component: render (show other bugs)
Version: 2.0.9
Hardware: All Windows 10
: P2 normal
Assignee: Ryan C. Gordon
QA Contact: Sam Lantinga
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2018-11-06 08:55 UTC by Anthony @ POW Games
Modified: 2018-11-06 08:55 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 Anthony @ POW Games 2018-11-06 08:55:17 UTC
So, when SDL_CreateWindow is used with the SDL_WINDOW_MAXIMIZED & SDL_WINDOW_RESIZABLE flags, the window should restore to the w & h specified in SDL_CreateWindow. This appears to stop working (as in the window stays full screen w & h instead) when creating a renderer that uses openGL, but works with software and Direct3D renderers. 

I thought this might be a post-2.0.9 bug, but it exists in 2.0.9 official.