mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-10-10 21:16:24 +02:00
Unify stencil buffer upload using Draw. Only OpenGL tested yet (shaders need adaptation).
This commit is contained in:
1 parent
d4d92e39ff
commit
9bead443c3
20 files changed
+287
-792
No files matched your search
@@ -144,10 +144,12 @@ void FramebufferManagerGLES::DestroyDeviceObjects() {
|
||||
render_->DeleteProgram(draw2dprogram_);
|
||||
draw2dprogram_ = nullptr;
|
||||
}
|
||||
if (stencilUploadProgram_) {
|
||||
render_->DeleteProgram(stencilUploadProgram_);
|
||||
stencilUploadProgram_ = nullptr;
|
||||
|
||||
if (stencilUploadPipeline_) {
|
||||
stencilUploadPipeline_->Release();
|
||||
stencilUploadPipeline_ = nullptr;
|
||||
}
|
||||
|
||||
if (depthDownloadProgram_) {
|
||||
render_->DeleteProgram(depthDownloadProgram_);
|
||||
depthDownloadProgram_ = nullptr;
|
||||
|
||||
Reference in new issue
Block a user