mirror of
https://github.com/yuzu-mirror/yuzu.git
synced 2024-11-18 03:17:32 +01:00
Fix GCC error.
This commit is contained in:
parent
7f44f22451
commit
ec2f3e48e1
@ -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();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -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;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user