pub unsafe fn set_hw_shared_context(callback: retro_environment_t) -> boolExpand description
Unstable The frontend will try to use a ‘shared’ hardware context (mostly applicable to OpenGL) when a hardware context is being set up.
Returns true if the frontend supports shared hardware contexts and false
if the frontend does not support shared hardware contexts.
This will do nothing on its own until SET_HW_RENDER environment callbacks are
being used.
§This feature is unstable and guarded by the unstable-env-commands feature flag.
Please be advised that this feature might change without further notice and no guarantees about its stability can be made.