mirror of
https://git.eden-emu.dev/eden-emu/eden.git
synced 2025-10-14 12:17:49 +00:00
Reduce amount of size calculations.
This commit is contained in:
parent
73538e80a6
commit
20e97604f1
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