yuzu-emu
/
yuzu-mainline
Archived
1
0
Fork 0

gl_rasterizer_cache.cpp: Update from citra to yuzu

This commit is contained in:
N00byKing 2018-04-04 23:05:10 +02:00 committed by GitHub
parent cfc28e0c1a
commit 27dbbd8227
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -1261,7 +1261,7 @@ void RasterizerCacheOpenGL::ValidateSurface(const Surface& surface, VAddr addr,
} }
} }
// Load data from 3DS memory // Load data from Switch memory
FlushRegion(params.addr, params.size); FlushRegion(params.addr, params.size);
surface->LoadGLBuffer(params.addr, params.end); surface->LoadGLBuffer(params.addr, params.end);
surface->UploadGLTexture(surface->GetSubRect(params), read_framebuffer.handle, surface->UploadGLTexture(surface->GetSubRect(params), read_framebuffer.handle,