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

Move contents of initialize_renderer to __init__ #346

Merged
merged 2 commits into from
Jun 13, 2022
Merged

Conversation

ziyaointl
Copy link
Member

Merge initialize_renderer with __init__ for the renderer classes, since in the current implementation there's no information needed by initialize_renderer that's not available at the time of __init__.

Also fixes #340 and #333 since texture_prog now exists when _on_resize is called.

@ziyaointl ziyaointl mentioned this pull request Jun 13, 2022
@ziyaointl ziyaointl merged commit 9207a4b into master Jun 13, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Code works, but unresolved reference errors in the editor and many errors generated on running
3 participants