diff options
author | Fernando Sahmkow <fsahmkow27@gmail.com> | 2022-01-18 18:05:44 +0100 |
---|---|---|
committer | Fernando Sahmkow <fsahmkow27@gmail.com> | 2022-03-25 03:05:56 +0100 |
commit | 9872d4bc4f78fea478e7db4d5a04208cb8a871fa (patch) | |
tree | d61944d1a7a5e03b5d00da43a92acee848f7bd4e /src/video_core/renderer_opengl/gl_texture_cache.h | |
parent | Garbage Collection: Final tuning. (diff) | |
download | yuzu-9872d4bc4f78fea478e7db4d5a04208cb8a871fa.tar yuzu-9872d4bc4f78fea478e7db4d5a04208cb8a871fa.tar.gz yuzu-9872d4bc4f78fea478e7db4d5a04208cb8a871fa.tar.bz2 yuzu-9872d4bc4f78fea478e7db4d5a04208cb8a871fa.tar.lz yuzu-9872d4bc4f78fea478e7db4d5a04208cb8a871fa.tar.xz yuzu-9872d4bc4f78fea478e7db4d5a04208cb8a871fa.tar.zst yuzu-9872d4bc4f78fea478e7db4d5a04208cb8a871fa.zip |
Diffstat (limited to '')
-rw-r--r-- | src/video_core/renderer_opengl/gl_texture_cache.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/video_core/renderer_opengl/gl_texture_cache.h b/src/video_core/renderer_opengl/gl_texture_cache.h index feeeb371e..53088b66e 100644 --- a/src/video_core/renderer_opengl/gl_texture_cache.h +++ b/src/video_core/renderer_opengl/gl_texture_cache.h @@ -10,6 +10,7 @@ #include <glad/glad.h> #include "shader_recompiler/shader_info.h" +#include "video_core/renderer_opengl/gl_device.h" #include "video_core/renderer_opengl/gl_resource_manager.h" #include "video_core/renderer_opengl/util_shaders.h" #include "video_core/texture_cache/image_view_base.h" @@ -21,7 +22,6 @@ struct ResolutionScalingInfo; namespace OpenGL { -class Device; class ProgramManager; class StateTracker; @@ -90,7 +90,7 @@ public: u64 GetDeviceMemoryUsage() const; bool CanReportMemoryUsage() const { - return GLAD_GL_NVX_gpu_memory_info; + return device.CanReportMemoryUsage(); } bool ShouldReinterpret([[maybe_unused]] Image& dst, [[maybe_unused]] Image& src) { |