diff options
author | Markus Wick <markus@selfnet.de> | 2018-11-06 21:26:27 +0100 |
---|---|---|
committer | Markus Wick <markus@selfnet.de> | 2018-11-17 14:28:54 +0100 |
commit | 97f5c4ffd3950994b852b287e1d24f4766e53bea (patch) | |
tree | d2e2bc62afd33c68f5a601705782b26fbbb4f35f /src/video_core/renderer_opengl/gl_buffer_cache.h | |
parent | Merge pull request #1678 from FearlessTobi/amiibo-hotkeys (diff) | |
download | yuzu-97f5c4ffd3950994b852b287e1d24f4766e53bea.tar yuzu-97f5c4ffd3950994b852b287e1d24f4766e53bea.tar.gz yuzu-97f5c4ffd3950994b852b287e1d24f4766e53bea.tar.bz2 yuzu-97f5c4ffd3950994b852b287e1d24f4766e53bea.tar.lz yuzu-97f5c4ffd3950994b852b287e1d24f4766e53bea.tar.xz yuzu-97f5c4ffd3950994b852b287e1d24f4766e53bea.tar.zst yuzu-97f5c4ffd3950994b852b287e1d24f4766e53bea.zip |
Diffstat (limited to 'src/video_core/renderer_opengl/gl_buffer_cache.h')
-rw-r--r-- | src/video_core/renderer_opengl/gl_buffer_cache.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/video_core/renderer_opengl/gl_buffer_cache.h b/src/video_core/renderer_opengl/gl_buffer_cache.h index 91fca3f6c..c11acfb79 100644 --- a/src/video_core/renderer_opengl/gl_buffer_cache.h +++ b/src/video_core/renderer_opengl/gl_buffer_cache.h @@ -50,7 +50,7 @@ public: /// Reserves memory to be used by host's CPU. Returns mapped address and offset. std::tuple<u8*, GLintptr> ReserveMemory(std::size_t size, std::size_t alignment = 4); - void Map(std::size_t max_size); + bool Map(std::size_t max_size); void Unmap(); GLuint GetHandle() const; |