From ecab8f343289b45860336985b7ccb991d3aaffad Mon Sep 17 00:00:00 2001 From: DHrpcs3 Date: Sun, 28 Feb 2016 14:54:03 +0300 Subject: [PATCH] gl_texture_cache: optimized cached_rtt structure --- rpcs3/Emu/RSX/GL/gl_texture_cache.h | 12 ++++-------- 1 file changed, 4 insertions(+), 8 deletions(-) diff --git a/rpcs3/Emu/RSX/GL/gl_texture_cache.h b/rpcs3/Emu/RSX/GL/gl_texture_cache.h index 7435a24091..2ab24ee634 100644 --- a/rpcs3/Emu/RSX/GL/gl_texture_cache.h +++ b/rpcs3/Emu/RSX/GL/gl_texture_cache.h @@ -32,19 +32,15 @@ namespace gl struct cached_rtt { + bool valid = false; + bool locked; + bool is_dirty; + bool is_depth; u32 copy_glid; u32 data_addr; u32 block_sz; - - bool is_dirty; - bool is_depth; - bool valid; - u32 current_width; u32 current_height; - - bool locked; - cached_rtt() : valid(false) {} }; private: