summaryrefslogtreecommitdiffstats
path: root/src/video_core/engines
diff options
context:
space:
mode:
authorSubv <subv2112@gmail.com>2018-04-22 02:19:33 +0200
committerSubv <subv2112@gmail.com>2018-04-23 18:34:50 +0200
commit9531a2928369bcc094c28b77408811d47c46c7f2 (patch)
tree791f30228e94a89ece5967306748d4e4d08e2020 /src/video_core/engines
parentMerge pull request #377 from adityaruplaha/sdl2-fullscreen (diff)
downloadyuzu-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')
-rw-r--r--src/video_core/engines/maxwell_3d.h5
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;