Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

replace uses of SDL_Window with RenWindow #1319

Merged
merged 1 commit into from
Jan 11, 2023

Conversation

Jan200101
Copy link
Contributor

@Jan200101 Jan200101 commented Jan 10, 2023

Since Renwindow contains our instance of SDL_Window we can use this to simplify future logic to create separate window instances.

Followed up by #1321

More work is needed to allow the creation of multiple windows and fully move it into Lua, but this is a sizable chunk that should be merged first.

Since Renwindow contains our instance of SDL_Window we can use this
to simplify future logic to create separate window instances
@Jan200101 Jan200101 marked this pull request as ready for review January 10, 2023 17:20
@adamharrison
Copy link
Member

Yeah; this makes sense. Better to have the no-cost abstraction, rather than passing around the original SDL_window in different places. Merging.

@adamharrison adamharrison merged commit bebef68 into lite-xl:master Jan 11, 2023
takase1121 pushed a commit to takase1121/lite-xl that referenced this pull request Jan 16, 2023
Since Renwindow contains our instance of SDL_Window we can use this
to simplify future logic to create separate window instances
takase1121 pushed a commit to takase1121/lite-xl that referenced this pull request Aug 19, 2023
Since Renwindow contains our instance of SDL_Window we can use this
to simplify future logic to create separate window instances
takase1121 pushed a commit to takase1121/lite-xl that referenced this pull request Aug 19, 2023
Since Renwindow contains our instance of SDL_Window we can use this
to simplify future logic to create separate window instances
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants