diff options
author | Liam <byteslice@airmail.cc> | 2022-11-17 04:41:40 +0100 |
---|---|---|
committer | Liam <byteslice@airmail.cc> | 2022-11-17 14:31:43 +0100 |
commit | 4c42655a2defddcd8faacaaa4e0bf109693b5a9c (patch) | |
tree | 5ec83147c52c4542066585c8936c88ef5ab6c51a /src/video_core/renderer_opengl | |
parent | maxwell3d: HLE multi-layer clear macro (diff) | |
download | yuzu-4c42655a2defddcd8faacaaa4e0bf109693b5a9c.tar yuzu-4c42655a2defddcd8faacaaa4e0bf109693b5a9c.tar.gz yuzu-4c42655a2defddcd8faacaaa4e0bf109693b5a9c.tar.bz2 yuzu-4c42655a2defddcd8faacaaa4e0bf109693b5a9c.tar.lz yuzu-4c42655a2defddcd8faacaaa4e0bf109693b5a9c.tar.xz yuzu-4c42655a2defddcd8faacaaa4e0bf109693b5a9c.tar.zst yuzu-4c42655a2defddcd8faacaaa4e0bf109693b5a9c.zip |
Diffstat (limited to 'src/video_core/renderer_opengl')
-rw-r--r-- | src/video_core/renderer_opengl/gl_rasterizer.cpp | 2 | ||||
-rw-r--r-- | src/video_core/renderer_opengl/gl_rasterizer.h | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/src/video_core/renderer_opengl/gl_rasterizer.cpp b/src/video_core/renderer_opengl/gl_rasterizer.cpp index d05a5f60b..115a5e010 100644 --- a/src/video_core/renderer_opengl/gl_rasterizer.cpp +++ b/src/video_core/renderer_opengl/gl_rasterizer.cpp @@ -136,7 +136,7 @@ void RasterizerOpenGL::LoadDiskResources(u64 title_id, std::stop_token stop_load shader_cache.LoadDiskResources(title_id, stop_loading, callback); } -void RasterizerOpenGL::Clear() { +void RasterizerOpenGL::Clear(u32 layer_count) { MICROPROFILE_SCOPE(OpenGL_Clears); if (!maxwell3d->ShouldExecute()) { return; diff --git a/src/video_core/renderer_opengl/gl_rasterizer.h b/src/video_core/renderer_opengl/gl_rasterizer.h index 793e0d608..449a14f12 100644 --- a/src/video_core/renderer_opengl/gl_rasterizer.h +++ b/src/video_core/renderer_opengl/gl_rasterizer.h @@ -69,7 +69,7 @@ public: ~RasterizerOpenGL() override; void Draw(bool is_indexed, u32 instance_count) override; - void Clear() override; + void Clear(u32 layer_count) override; void DispatchCompute() override; void ResetCounter(VideoCore::QueryType type) override; void Query(GPUVAddr gpu_addr, VideoCore::QueryType type, std::optional<u64> timestamp) override; |