Skip to content
Snippets Groups Projects
Commit b6408e96 authored by Lioncash's avatar Lioncash
Browse files

video_core/renderer_opengl/gl_shader_cache: Correct member initialization order

Silences a -Wreorder warning.
parent e43ba3ac
No related branches found
No related tags found
No related merge requests found
......@@ -345,7 +345,7 @@ ShaderDiskCacheUsage CachedShader::GetUsage(GLenum primitive_mode,
ShaderCacheOpenGL::ShaderCacheOpenGL(RasterizerOpenGL& rasterizer, Core::System& system,
const Device& device)
: RasterizerCache{rasterizer}, disk_cache{system}, device{device} {}
: RasterizerCache{rasterizer}, device{device}, disk_cache{system} {}
void ShaderCacheOpenGL::LoadDiskCache(const std::atomic_bool& stop_loading,
const VideoCore::DiskResourceLoadCallback& callback) {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment