Reduce amount of size calculations.
This commit is contained in:
parent
4e2071b6d9
commit
b347543e83
8 changed files with 97 additions and 88 deletions
|
@ -240,7 +240,6 @@ CachedSurface::~CachedSurface() {
|
|||
}
|
||||
|
||||
void CachedSurface::DownloadTexture(std::vector<u8>& staging_buffer) {
|
||||
LOG_CRITICAL(Render_OpenGL, "Flushing");
|
||||
MICROPROFILE_SCOPE(OpenGL_Texture_Download);
|
||||
|
||||
// TODO(Rodrigo): Optimize alignment
|
||||
|
|
|
@ -133,7 +133,7 @@ protected:
|
|||
const VideoCommon::CopyParams& copy_params) override;
|
||||
|
||||
void ImageBlit(Surface src_surface, Surface dst_surface, const Common::Rectangle<u32>& src_rect,
|
||||
const Common::Rectangle<u32>& dst_rect) override;
|
||||
const Common::Rectangle<u32>& dst_rect) override;
|
||||
|
||||
private:
|
||||
OGLFramebuffer src_framebuffer;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue