Skip to content

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

@JSensebe

Description

@JSensebe

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions