summaryrefslogtreecommitdiffstats
path: root/src/video_core/renderer_base.h
diff options
context:
space:
mode:
authorbunnei <bunneidev@gmail.com>2018-01-15 05:51:54 +0100
committerbunnei <bunneidev@gmail.com>2018-01-15 05:54:56 +0100
commitebd613c2ccfa770caa55bff9e6ca67eee7bca754 (patch)
tree8e55e78102a6d3fa01514e4e01256b209e454945 /src/video_core/renderer_base.h
parentUpdate README.md with Travis link. (diff)
downloadyuzu-ebd613c2ccfa770caa55bff9e6ca67eee7bca754.tar
yuzu-ebd613c2ccfa770caa55bff9e6ca67eee7bca754.tar.gz
yuzu-ebd613c2ccfa770caa55bff9e6ca67eee7bca754.tar.bz2
yuzu-ebd613c2ccfa770caa55bff9e6ca67eee7bca754.tar.lz
yuzu-ebd613c2ccfa770caa55bff9e6ca67eee7bca754.tar.xz
yuzu-ebd613c2ccfa770caa55bff9e6ca67eee7bca754.tar.zst
yuzu-ebd613c2ccfa770caa55bff9e6ca67eee7bca754.zip
Diffstat (limited to 'src/video_core/renderer_base.h')
-rw-r--r--src/video_core/renderer_base.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/video_core/renderer_base.h b/src/video_core/renderer_base.h
index d15db6c8c..28893b181 100644
--- a/src/video_core/renderer_base.h
+++ b/src/video_core/renderer_base.h
@@ -5,6 +5,7 @@
#pragma once
#include <memory>
+#include <boost/optional.hpp>
#include "common/assert.h"
#include "common/common_types.h"
@@ -47,7 +48,7 @@ public:
virtual ~RendererBase() {}
/// Swap buffers (render frame)
- virtual void SwapBuffers(const FramebufferInfo& framebuffer_info) = 0;
+ virtual void SwapBuffers(boost::optional<const FramebufferInfo&> framebuffer_info) = 0;
/**
* Set the emulator window to use for renderer