forked from suyu/suyu
video_core/renderer_opengl/gl_shader_cache: Correct member initialization order
Silences a -Wreorder warning.
This commit is contained in:
parent
e43ba3acd4
commit
b6408e9671
1 changed files with 1 additions and 1 deletions
|
@ -345,7 +345,7 @@ ShaderDiskCacheUsage CachedShader::GetUsage(GLenum primitive_mode,
|
||||||
|
|
||||||
ShaderCacheOpenGL::ShaderCacheOpenGL(RasterizerOpenGL& rasterizer, Core::System& system,
|
ShaderCacheOpenGL::ShaderCacheOpenGL(RasterizerOpenGL& rasterizer, Core::System& system,
|
||||||
const Device& device)
|
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,
|
void ShaderCacheOpenGL::LoadDiskCache(const std::atomic_bool& stop_loading,
|
||||||
const VideoCore::DiskResourceLoadCallback& callback) {
|
const VideoCore::DiskResourceLoadCallback& callback) {
|
||||||
|
|
Loading…
Reference in a new issue