mirror of
https://github.com/wheremyfoodat/Panda3DS.git
synced 2025-04-21 21:05:50 +12:00
Renderer GL: Don't leak shader/UBO handles
This commit is contained in:
parent
5c40fb0cbf
commit
f219432c6a
2 changed files with 15 additions and 9 deletions
|
@ -117,6 +117,7 @@ class RendererGL final : public Renderer {
|
|||
// Note: The caller is responsible for deleting the currently bound FBO before calling this
|
||||
void setFBO(uint handle) { screenFramebuffer.m_handle = handle; }
|
||||
void resetStateManager() { gl.reset(); }
|
||||
void clearShaderCache();
|
||||
void initUbershader(OpenGL::Program& program);
|
||||
|
||||
#ifdef PANDA3DS_FRONTEND_QT
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue