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

Summary: Window forgets w & h when created maximized and attaching an openGL renderer
Product: SDL Reporter: Anthony @ POW Games <ant>
Component: renderAssignee: Ryan C. Gordon <icculus>
Status: NEW --- QA Contact: Sam Lantinga <slouken>
Severity: normal    
Priority: P2    
Version: 2.0.9   
Hardware: All   
OS: Windows 10   

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.