gl_rasterizer: Reorder constructor initializer list in terms of member declaration order
Orders the members in the order they would actually be initialized in. Silences a -Wreorder warning.
This commit is contained in:
parent
10d1d58390
commit
a6a783b3dc
|
@ -102,8 +102,8 @@ struct FramebufferCacheKey {
|
||||||
|
|
||||||
RasterizerOpenGL::RasterizerOpenGL(Core::Frontend::EmuWindow& window, Core::System& system,
|
RasterizerOpenGL::RasterizerOpenGL(Core::Frontend::EmuWindow& window, Core::System& system,
|
||||||
ScreenInfo& info)
|
ScreenInfo& info)
|
||||||
: res_cache{*this}, shader_cache{*this, system}, emu_window{window}, screen_info{info},
|
: res_cache{*this}, shader_cache{*this, system}, global_cache{*this}, emu_window{window},
|
||||||
buffer_cache(*this, STREAM_BUFFER_SIZE), global_cache{*this} {
|
screen_info{info}, buffer_cache(*this, STREAM_BUFFER_SIZE) {
|
||||||
// Create sampler objects
|
// Create sampler objects
|
||||||
for (std::size_t i = 0; i < texture_samplers.size(); ++i) {
|
for (std::size_t i = 0; i < texture_samplers.size(); ++i) {
|
||||||
texture_samplers[i].Create();
|
texture_samplers[i].Create();
|
||||||
|
|
Reference in New Issue