mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-10-19 09:19:05 +02:00
libretro: create the GL presets once
LibretroHWRenderContext::ContextReset() already creates them right after
CreateDrawContext(), so the GL contexts' own call leaked the first set.
(The libretro part of 329f30a0c9 from libretro-fork/psp.)
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
This commit is contained in:
1 parent
b71fbaeb5c
commit
fb61ec51cb
2 files changed
-2
No files matched your search
@@ -35,7 +35,6 @@ void LibretroGLContext::CreateDrawContext() {
|
||||
renderManager_ = (GLRenderManager *)draw_->GetNativeObject(Draw::NativeObject::RENDER_MANAGER);
|
||||
renderManager_->SetInflightFrames(g_Config.iInflightFrames);
|
||||
SetGPUBackend(GPUBackend::OPENGL);
|
||||
draw_->CreatePresets();
|
||||
}
|
||||
|
||||
void LibretroGLContext::DestroyDrawContext() {
|
||||
|
||||
@@ -37,7 +37,6 @@ void LibretroGLCoreContext::CreateDrawContext() {
|
||||
renderManager_ = (GLRenderManager *)draw_->GetNativeObject(Draw::NativeObject::RENDER_MANAGER);
|
||||
renderManager_->SetInflightFrames(g_Config.iInflightFrames);
|
||||
SetGPUBackend(GPUBackend::OPENGL);
|
||||
draw_->CreatePresets();
|
||||
}
|
||||
|
||||
void LibretroGLCoreContext::DestroyDrawContext() {
|
||||
|
||||
Reference in new issue
Block a user