mirror of
https://github.com/hrydgard/ppsspp.git
synced 2025-04-02 11:01:50 -04:00
Complete the name change to ClearBuffer
This commit is contained in:
parent
169cc63f6e
commit
a4f5418d9d
1 changed files with 2 additions and 2 deletions
|
@ -624,7 +624,7 @@ void FramebufferManager::SetRenderFrameBuffer() {
|
||||||
// FBO in a frame. This means that some games won't be able to avoid the on-some-GPUs
|
// FBO in a frame. This means that some games won't be able to avoid the on-some-GPUs
|
||||||
// performance-crushing framebuffer reloads from RAM, but we'll have to live with that.
|
// performance-crushing framebuffer reloads from RAM, but we'll have to live with that.
|
||||||
if (vfb->last_frame_used != gpuStats.numFlips) {
|
if (vfb->last_frame_used != gpuStats.numFlips) {
|
||||||
frame_clearing();
|
ClearBuffer();
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
currentRenderVfb_ = vfb;
|
currentRenderVfb_ = vfb;
|
||||||
|
@ -785,7 +785,7 @@ void FramebufferManager::ReadFramebufferToMemory(VirtualFramebuffer *vfb, bool s
|
||||||
// FBO in a frame. This means that some games won't be able to avoid the on-some-GPUs
|
// FBO in a frame. This means that some games won't be able to avoid the on-some-GPUs
|
||||||
// performance-crushing framebuffer reloads from RAM, but we'll have to live with that.
|
// performance-crushing framebuffer reloads from RAM, but we'll have to live with that.
|
||||||
if (nvfb->last_frame_used != gpuStats.numFlips) {
|
if (nvfb->last_frame_used != gpuStats.numFlips) {
|
||||||
frame_clearing();
|
ClearBuffer();
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue