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.
This commit is contained in:
Lioncash 2018-08-21 04:18:27 -04:00
parent 5c6e09f325
commit 3f4bfaa5b6
21 changed files with 70 additions and 23 deletions

View file

@ -10,7 +10,7 @@
namespace VideoCore {
std::unique_ptr<RendererBase> CreateRenderer(Core::Frontend::EmuWindow& emu_window) {
return std::make_unique<RendererOpenGL>(emu_window);
return std::make_unique<OpenGL::RendererOpenGL>(emu_window);
}
} // namespace VideoCore