···660660/*! Switches the current renderer to the renderer matching the given identifier. */
661661void GPU_SetCurrentRenderer(GPU_RendererID id);
662662663663+/*! Reapplies the renderer state to the backend API (e.g. OpenGL, Direct3D). Use this if you want SDL_gpu to be able to render after you've used direct backend calls. */
664664+void GPU_ResetRendererState(void);
665665+663666664667665668
+3
SDL_gpu/SDL_gpu_RendererImpl.h
···2828 /*! Sets up this renderer to act as the current renderer. Called automatically by GPU_SetCurrentRenderer(). */
2929 void (*SetAsCurrent)(GPU_Renderer* renderer);
30303131+ /*! \see GPU_ResetRendererState() */
3232+ void (*ResetRendererState)(GPU_Renderer* renderer);
3333+3134 /*! \see GPU_SetWindowResolution() */
3235 Uint8 (*SetWindowResolution)(GPU_Renderer* renderer, Uint16 w, Uint16 h);
3336