Complete the name change to ClearBuffer

This commit is contained in:
Henrik Rydgard 2013-08-14 22:14:18 +02:00
parent 169cc63f6e
commit a4f5418d9d

View file

@ -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
} }