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 4446 - [patch] Add SDL_RecreateWindow() to the API
Summary: [patch] Add SDL_RecreateWindow() to the API
Status: ASSIGNED
Alias: None
Product: SDL
Classification: Unclassified
Component: video (show other bugs)
Version: 2.0.9
Hardware: All All
: P2 enhancement
Assignee: Ryan C. Gordon
QA Contact: Sam Lantinga
URL:
Keywords: target-2.0.16
Depends on:
Blocks:
 
Reported: 2019-01-09 14:39 UTC by David Lönnhager
Modified: 2020-12-13 03:28 UTC (History)
2 users (show)

See Also:


Attachments
Add SDL_RecreateWindow() to the API (4.02 KB, patch)
2019-01-09 14:39 UTC, David Lönnhager
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description David Lönnhager 2019-01-09 14:39:17 UTC
Created attachment 3560 [details]
Add SDL_RecreateWindow() to the API

Hello

I'd like to expose the function SDL_RecreateWindow() to users of SDL. The reason is to make it possible to recreate windows with certain flags (manually), eg SDL_WINDOW_OPENGL.

Cf. https://github.com/pygame/pygame/issues/712
Comment 1 Rene Dudfield 2020-12-12 18:38:38 UTC
Any chance of exposing SDL_RecreateWindow?
Comment 2 Sam Lantinga 2020-12-13 03:28:59 UTC
Possibly, let's look at it post-2.0.14 release.