summaryrefslogtreecommitdiff
path: root/retrace/d3dretrace.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'retrace/d3dretrace.hpp')
-rw-r--r--retrace/d3dretrace.hpp9
1 files changed, 7 insertions, 2 deletions
diff --git a/retrace/d3dretrace.hpp b/retrace/d3dretrace.hpp
index d0be5773..d5fc848f 100644
--- a/retrace/d3dretrace.hpp
+++ b/retrace/d3dretrace.hpp
@@ -50,9 +50,14 @@ public:
pLastDevice(NULL)
{}
+ int
+ getSnapshotCount(void) override {
+ return 1;
+ }
+
image::Image *
- getSnapshot(void) {
- if (!pLastDevice) {
+ getSnapshot(int n) {
+ if ((n != 0) || !pLastDevice) {
return NULL;
}
return d3dstate::getRenderTargetImage(pLastDevice);