Quickfix for crashes switching rendering mode

This commit is contained in:
Henrik Rydgard 2013-07-21 23:03:01 +02:00
parent 2f50bec779
commit ab654a2b6f

View File

@ -820,7 +820,7 @@ void FramebufferManager::ReadFramebufferToMemory(VirtualFramebuffer *vfb) {
void FramebufferManager::BlitFramebuffer_(VirtualFramebuffer *src, VirtualFramebuffer *dst, bool flip, float upscale, float vscale) {
// This only works with buffered rendering
if (!useBufferedRendering_) {
if (!useBufferedRendering_ || !src->fbo) {
return;
}