2
1
Fork 0
mirror of https://github.com/yuzu-emu/yuzu.git synced 2024-07-04 23:31:19 +01:00

Fix GCC error.

This commit is contained in:
Fernando Sahmkow 2020-04-15 22:59:29 -04:00
parent 7f44f22451
commit ec2f3e48e1
2 changed files with 5 additions and 6 deletions

View file

@ -99,11 +99,10 @@ RasterizerOpenGL::RasterizerOpenGL(Core::System& system, Core::Frontend::EmuWind
ScreenInfo& info, GLShader::ProgramManager& program_manager, ScreenInfo& info, GLShader::ProgramManager& program_manager,
StateTracker& state_tracker) StateTracker& state_tracker)
: RasterizerAccelerated{system.Memory()}, texture_cache{system, *this, device, state_tracker}, : RasterizerAccelerated{system.Memory()}, texture_cache{system, *this, device, state_tracker},
shader_cache{*this, system, emu_window, device}, query_cache{system, *this}, system{system}, shader_cache{*this, system, emu_window, device}, query_cache{system, *this},
screen_info{info}, program_manager{program_manager}, state_tracker{state_tracker}, buffer_cache{*this, system, device, STREAM_BUFFER_SIZE},
buffer_cache{*this, system, device, STREAM_BUFFER_SIZE}, fence_manager{ fence_manager{system, *this, texture_cache, buffer_cache, query_cache}, system{system},
system, *this, texture_cache, screen_info{info}, program_manager{program_manager}, state_tracker{state_tracker} {
buffer_cache, query_cache} {
CheckExtensions(); CheckExtensions();
} }

View file

@ -229,6 +229,7 @@ private:
SamplerCacheOpenGL sampler_cache; SamplerCacheOpenGL sampler_cache;
FramebufferCacheOpenGL framebuffer_cache; FramebufferCacheOpenGL framebuffer_cache;
QueryCache query_cache; QueryCache query_cache;
OGLBufferCache buffer_cache;
FenceManagerOpenGL fence_manager; FenceManagerOpenGL fence_manager;
Core::System& system; Core::System& system;
@ -237,7 +238,6 @@ private:
StateTracker& state_tracker; StateTracker& state_tracker;
static constexpr std::size_t STREAM_BUFFER_SIZE = 128 * 1024 * 1024; static constexpr std::size_t STREAM_BUFFER_SIZE = 128 * 1024 * 1024;
OGLBufferCache buffer_cache;
GLint vertex_binding = 0; GLint vertex_binding = 0;