diff options
| author | bunnei <bunneidev@gmail.com> | 2019-05-25 23:01:25 -0400 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2019-05-25 23:01:25 -0400 |
| commit | 90c9d703baacddb6abdf464bfb9c9eb906bd78a8 (patch) | |
| tree | 715dd83cf5a3dda1cf9ddbc960e00da1a9d6acc6 /src/video_core/renderer_opengl/utils.h | |
| parent | bb248a2710bf809f58044e002f207e4d4c6e3ea5 (diff) | |
| parent | 5a4564bd8eae9c8fef6da70009536ce50b5752d5 (diff) | |
Merge pull request #2516 from lioncash/label
renderer_opengl/utils: Use a std::string_view with LabelGLObject()
Diffstat (limited to 'src/video_core/renderer_opengl/utils.h')
| -rw-r--r-- | src/video_core/renderer_opengl/utils.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/video_core/renderer_opengl/utils.h b/src/video_core/renderer_opengl/utils.h index aef45c9dc..b3e9fc499 100644 --- a/src/video_core/renderer_opengl/utils.h +++ b/src/video_core/renderer_opengl/utils.h @@ -4,7 +4,7 @@ #pragma once -#include <string> +#include <string_view> #include <vector> #include <glad/glad.h> #include "common/common_types.h" @@ -30,6 +30,6 @@ private: std::vector<GLsizeiptr> sizes; }; -void LabelGLObject(GLenum identifier, GLuint handle, VAddr addr, std::string extra_info = ""); +void LabelGLObject(GLenum identifier, GLuint handle, VAddr addr, std::string_view extra_info = {}); } // namespace OpenGL
\ No newline at end of file |
