summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorLioncash <mathew1800@gmail.com>2018-09-06 20:58:15 +0200
committerLioncash <mathew1800@gmail.com>2018-09-06 21:07:15 +0200
commit8d685a29bc489b68e578df3c8be2eaeb5d1f6d5d (patch)
tree306d4361520f6043b13e880c03a9e7edbc31ebf8 /src
parentgl_buffer_cache: Remove unnecessary includes (diff)
downloadyuzu-8d685a29bc489b68e578df3c8be2eaeb5d1f6d5d.tar
yuzu-8d685a29bc489b68e578df3c8be2eaeb5d1f6d5d.tar.gz
yuzu-8d685a29bc489b68e578df3c8be2eaeb5d1f6d5d.tar.bz2
yuzu-8d685a29bc489b68e578df3c8be2eaeb5d1f6d5d.tar.lz
yuzu-8d685a29bc489b68e578df3c8be2eaeb5d1f6d5d.tar.xz
yuzu-8d685a29bc489b68e578df3c8be2eaeb5d1f6d5d.tar.zst
yuzu-8d685a29bc489b68e578df3c8be2eaeb5d1f6d5d.zip
Diffstat (limited to 'src')
-rw-r--r--src/video_core/renderer_opengl/gl_buffer_cache.cpp2
-rw-r--r--src/video_core/renderer_opengl/gl_buffer_cache.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/video_core/renderer_opengl/gl_buffer_cache.cpp b/src/video_core/renderer_opengl/gl_buffer_cache.cpp
index 3a81a966e..0b5d18bcb 100644
--- a/src/video_core/renderer_opengl/gl_buffer_cache.cpp
+++ b/src/video_core/renderer_opengl/gl_buffer_cache.cpp
@@ -77,7 +77,7 @@ void OGLBufferCache::Unmap() {
stream_buffer.Unmap(buffer_offset - buffer_offset_base);
}
-GLuint OGLBufferCache::GetHandle() {
+GLuint OGLBufferCache::GetHandle() const {
return stream_buffer.GetHandle();
}
diff --git a/src/video_core/renderer_opengl/gl_buffer_cache.h b/src/video_core/renderer_opengl/gl_buffer_cache.h
index 256d5b83f..3ae78cb26 100644
--- a/src/video_core/renderer_opengl/gl_buffer_cache.h
+++ b/src/video_core/renderer_opengl/gl_buffer_cache.h
@@ -41,7 +41,7 @@ public:
void Map(size_t max_size);
void Unmap();
- GLuint GetHandle();
+ GLuint GetHandle() const;
protected:
void AlignBuffer(size_t alignment);