diff options
author | Subv <subv2112@gmail.com> | 2018-04-22 02:19:33 +0200 |
---|---|---|
committer | Subv <subv2112@gmail.com> | 2018-04-23 18:34:50 +0200 |
commit | 9531a2928369bcc094c28b77408811d47c46c7f2 (patch) | |
tree | 791f30228e94a89ece5967306748d4e4d08e2020 /src/video_core/engines/maxwell_3d.h | |
parent | Merge pull request #377 from adityaruplaha/sdl2-fullscreen (diff) | |
download | yuzu-9531a2928369bcc094c28b77408811d47c46c7f2.tar yuzu-9531a2928369bcc094c28b77408811d47c46c7f2.tar.gz yuzu-9531a2928369bcc094c28b77408811d47c46c7f2.tar.bz2 yuzu-9531a2928369bcc094c28b77408811d47c46c7f2.tar.lz yuzu-9531a2928369bcc094c28b77408811d47c46c7f2.tar.xz yuzu-9531a2928369bcc094c28b77408811d47c46c7f2.tar.zst yuzu-9531a2928369bcc094c28b77408811d47c46c7f2.zip |
Diffstat (limited to 'src/video_core/engines/maxwell_3d.h')
-rw-r--r-- | src/video_core/engines/maxwell_3d.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/video_core/engines/maxwell_3d.h b/src/video_core/engines/maxwell_3d.h index d4fcedace..609504795 100644 --- a/src/video_core/engines/maxwell_3d.h +++ b/src/video_core/engines/maxwell_3d.h @@ -500,6 +500,11 @@ public: return static_cast<GPUVAddr>((static_cast<GPUVAddr>(start_high) << 32) | start_low); } + + bool IsEnabled() const { + return enable != 0 && StartAddress() != 0; + } + } vertex_array[NumVertexArrays]; Blend blend; |