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

session.video.active_context is sometimes callable, sometimes value. #19

Open
JSensebe opened this issue Sep 15, 2024 · 2 comments
Open

Comments

@JSensebe
Copy link
Contributor

The identifier session.video.active_context will sometimes return a callable type (usually <bound method ModernGlVideoDriver.active_context of <libretro.drivers.video.opengl.moderngl.ModernGlVideoDriver object...), sometimes a number (usually 0).

This is only being used in the MultiVideoDriver.reinit() method, but that has the potential to cause problems when setting a context.

@JesseTG
Copy link
Owner

JesseTG commented Sep 16, 2024

Can you give me a scenario that'll let me reproduce this?

@JSensebe
Copy link
Contributor Author

JSensebe commented Sep 16, 2024 via email

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

No branches or pull requests

2 participants