From dd35b4b18a69c02c3a22ba1a72504fbff69cfec0 Mon Sep 17 00:00:00 2001 From: Lioncash Date: Tue, 21 Aug 2018 04:18:27 -0400 Subject: renderer_opengl: Namespace OpenGL code Namespaces all OpenGL code under the OpenGL namespace. Prevents polluting the global namespace and allows clear distinction between other renderers' code in the future. --- src/video_core/renderer_opengl/gl_state.cpp | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src/video_core/renderer_opengl/gl_state.cpp') diff --git a/src/video_core/renderer_opengl/gl_state.cpp b/src/video_core/renderer_opengl/gl_state.cpp index 13399ceb8..e1a887d67 100644 --- a/src/video_core/renderer_opengl/gl_state.cpp +++ b/src/video_core/renderer_opengl/gl_state.cpp @@ -7,6 +7,8 @@ #include "common/logging/log.h" #include "video_core/renderer_opengl/gl_state.h" +namespace OpenGL { + OpenGLState OpenGLState::cur_state; OpenGLState::OpenGLState() { @@ -338,3 +340,5 @@ OpenGLState& OpenGLState::ResetFramebuffer(GLuint handle) { } return *this; } + +} // namespace OpenGL -- cgit v1.2.3