diff options
author | ReinUsesLisp <reinuseslisp@airmail.cc> | 2020-01-30 06:08:46 +0100 |
---|---|---|
committer | ReinUsesLisp <reinuseslisp@airmail.cc> | 2020-01-30 06:22:00 +0100 |
commit | b69321650e440f28dfc071f5a442901cc21a1139 (patch) | |
tree | 2f16dd4eab40cc3f8fb389ccc5738d7acdde3c9d /src/video_core/renderer_opengl/gl_rasterizer.h | |
parent | Merge pull request #3350 from ReinUsesLisp/atom (diff) | |
download | yuzu-b69321650e440f28dfc071f5a442901cc21a1139.tar yuzu-b69321650e440f28dfc071f5a442901cc21a1139.tar.gz yuzu-b69321650e440f28dfc071f5a442901cc21a1139.tar.bz2 yuzu-b69321650e440f28dfc071f5a442901cc21a1139.tar.lz yuzu-b69321650e440f28dfc071f5a442901cc21a1139.tar.xz yuzu-b69321650e440f28dfc071f5a442901cc21a1139.tar.zst yuzu-b69321650e440f28dfc071f5a442901cc21a1139.zip |
Diffstat (limited to '')
-rw-r--r-- | src/video_core/renderer_opengl/gl_rasterizer.h | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/src/video_core/renderer_opengl/gl_rasterizer.h b/src/video_core/renderer_opengl/gl_rasterizer.h index 6a27cf497..0501f3828 100644 --- a/src/video_core/renderer_opengl/gl_rasterizer.h +++ b/src/video_core/renderer_opengl/gl_rasterizer.h @@ -103,7 +103,7 @@ private: std::size_t size); /// Syncs all the state, shaders, render targets and textures setting before a draw call. - void DrawPrelude(); + void Draw(bool is_indexed, bool is_instanced); /// Configures the current textures to use for the draw command. void SetupDrawTextures(std::size_t stage_index, const Shader& shader); @@ -220,12 +220,7 @@ private: GLintptr SetupIndexBuffer(); - GLintptr index_buffer_offset; - void SetupShaders(GLenum primitive_mode); - - enum class AccelDraw { Disabled, Arrays, Indexed }; - AccelDraw accelerate_draw = AccelDraw::Disabled; }; } // namespace OpenGL |