diff options
author | ReinUsesLisp <reinuseslisp@airmail.cc> | 2019-01-15 20:28:42 +0100 |
---|---|---|
committer | ReinUsesLisp <reinuseslisp@airmail.cc> | 2019-02-07 02:23:40 +0100 |
commit | 7fefec585c805fa09951da11890bb90afb8a42a9 (patch) | |
tree | 739d06767d869ff1f0678aa20cb076a465521744 /src/video_core/renderer_opengl/renderer_opengl.h | |
parent | gl_shader_disk_cache: Guard reads and writes against failure (diff) | |
download | yuzu-7fefec585c805fa09951da11890bb90afb8a42a9.tar yuzu-7fefec585c805fa09951da11890bb90afb8a42a9.tar.gz yuzu-7fefec585c805fa09951da11890bb90afb8a42a9.tar.bz2 yuzu-7fefec585c805fa09951da11890bb90afb8a42a9.tar.lz yuzu-7fefec585c805fa09951da11890bb90afb8a42a9.tar.xz yuzu-7fefec585c805fa09951da11890bb90afb8a42a9.tar.zst yuzu-7fefec585c805fa09951da11890bb90afb8a42a9.zip |
Diffstat (limited to 'src/video_core/renderer_opengl/renderer_opengl.h')
-rw-r--r-- | src/video_core/renderer_opengl/renderer_opengl.h | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/src/video_core/renderer_opengl/renderer_opengl.h b/src/video_core/renderer_opengl/renderer_opengl.h index 1665018db..7e13e566b 100644 --- a/src/video_core/renderer_opengl/renderer_opengl.h +++ b/src/video_core/renderer_opengl/renderer_opengl.h @@ -12,6 +12,10 @@ #include "video_core/renderer_opengl/gl_resource_manager.h" #include "video_core/renderer_opengl/gl_state.h" +namespace Core { +class System; +} + namespace Core::Frontend { class EmuWindow; } @@ -41,7 +45,7 @@ struct ScreenInfo { class RendererOpenGL : public VideoCore::RendererBase { public: - explicit RendererOpenGL(Core::Frontend::EmuWindow& window); + explicit RendererOpenGL(Core::Frontend::EmuWindow& window, Core::System& system); ~RendererOpenGL() override; /// Swap buffers (render frame) @@ -72,6 +76,8 @@ private: void LoadColorToActiveGLTexture(u8 color_r, u8 color_g, u8 color_b, u8 color_a, const TextureInfo& texture); + Core::System& system; + OpenGLState state; // OpenGL object IDs |