mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-10-11 05:26:24 +02:00
GLES: Remove some unused depth related code.
This commit is contained in:
1 parent
5102ef8a31
commit
4e67194147
2 files changed
-16
No files matched your search
@@ -61,15 +61,6 @@ void FramebufferManagerGLES::UpdateDownloadTempBuffer(VirtualFramebuffer *nvfb)
|
||||
}
|
||||
}
|
||||
|
||||
void FramebufferManagerGLES::DeviceLost() {
|
||||
FramebufferManagerCommon::DeviceLost();
|
||||
if (depthDownloadProgram_) {
|
||||
GLRenderManager *render = (GLRenderManager *)draw_->GetNativeObject(Draw::NativeObject::RENDER_MANAGER);
|
||||
render->DeleteProgram(depthDownloadProgram_);
|
||||
depthDownloadProgram_ = nullptr;
|
||||
}
|
||||
}
|
||||
|
||||
void FramebufferManagerGLES::NotifyDisplayResized() {
|
||||
FramebufferManagerCommon::NotifyDisplayResized();
|
||||
|
||||
|
||||
@@ -32,7 +32,6 @@ public:
|
||||
~FramebufferManagerGLES();
|
||||
|
||||
void NotifyDisplayResized() override;
|
||||
void DeviceLost() override;
|
||||
|
||||
bool GetOutputFramebuffer(GPUDebugBuffer &buffer) override;
|
||||
|
||||
@@ -44,10 +43,4 @@ protected:
|
||||
private:
|
||||
u8 *convBuf_ = nullptr;
|
||||
u32 convBufSize_ = 0;
|
||||
|
||||
GLRProgram *depthDownloadProgram_ = nullptr;
|
||||
int u_depthDownloadTex = -1;
|
||||
int u_depthDownloadFactor = -1;
|
||||
int u_depthDownloadShift = -1;
|
||||
int u_depthDownloadTo8 = -1;
|
||||
};
|
||||
Reference in new issue
Block a user