diff options
author | ReinUsesLisp <reinuseslisp@airmail.cc> | 2019-12-25 23:46:04 +0100 |
---|---|---|
committer | ReinUsesLisp <reinuseslisp@airmail.cc> | 2020-02-28 20:47:59 +0100 |
commit | 925521da5fbc1096f56933eba1683b60c6c19b20 (patch) | |
tree | 2b83322e281fead062bd51f8563a70231e77802c /src/video_core/renderer_opengl/renderer_opengl.cpp | |
parent | gl_state: Remove point size tracking (diff) | |
download | yuzu-925521da5fbc1096f56933eba1683b60c6c19b20.tar yuzu-925521da5fbc1096f56933eba1683b60c6c19b20.tar.gz yuzu-925521da5fbc1096f56933eba1683b60c6c19b20.tar.bz2 yuzu-925521da5fbc1096f56933eba1683b60c6c19b20.tar.lz yuzu-925521da5fbc1096f56933eba1683b60c6c19b20.tar.xz yuzu-925521da5fbc1096f56933eba1683b60c6c19b20.tar.zst yuzu-925521da5fbc1096f56933eba1683b60c6c19b20.zip |
Diffstat (limited to '')
-rw-r--r-- | src/video_core/renderer_opengl/renderer_opengl.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/video_core/renderer_opengl/renderer_opengl.cpp b/src/video_core/renderer_opengl/renderer_opengl.cpp index f71e23f9e..311053695 100644 --- a/src/video_core/renderer_opengl/renderer_opengl.cpp +++ b/src/video_core/renderer_opengl/renderer_opengl.cpp @@ -571,6 +571,10 @@ void RendererOpenGL::DrawScreenTriangles(const ScreenInfo& screen_info, float x, state.textures[0] = screen_info.display_texture; state.framebuffer_srgb.enabled = screen_info.display_srgb; state.Apply(); + + // TODO: Signal state tracker about these changes + glFrontFace(GL_CW); + glNamedBufferSubData(vertex_buffer.handle, 0, sizeof(vertices), std::data(vertices)); glDrawArrays(GL_TRIANGLE_STRIP, 0, 4); // Restore default state |