Qt: Shader editor now works

This commit is contained in:
wheremyfoodat 2024-07-14 15:49:35 +03:00
parent d87477832b
commit 186fd3b94b
6 changed files with 63 additions and 35 deletions

View file

@ -92,6 +92,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 initUbershader(OpenGL::Program& program);
#ifdef PANDA3DS_FRONTEND_QT
virtual void initGraphicsContext([[maybe_unused]] GL::Context* context) override { initGraphicsContextInternal(); }