diff options
| author | Lioncash <mathew1800@gmail.com> | 2018-08-21 04:18:27 -0400 |
|---|---|---|
| committer | Lioncash <mathew1800@gmail.com> | 2018-08-22 06:14:47 -0400 |
| commit | dd35b4b18a69c02c3a22ba1a72504fbff69cfec0 (patch) | |
| tree | dcae20ee477f4af3a66ffe9d0d5074f1f247a9f1 /src/video_core/renderer_opengl/gl_state.cpp | |
| parent | b38d67d940ddd4c03d833dc443126609e0981987 (diff) | |
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.
Diffstat (limited to 'src/video_core/renderer_opengl/gl_state.cpp')
| -rw-r--r-- | src/video_core/renderer_opengl/gl_state.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
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 |
