diff options
author | ReinUsesLisp <reinuseslisp@airmail.cc> | 2020-01-18 23:09:48 +0100 |
---|---|---|
committer | ReinUsesLisp <reinuseslisp@airmail.cc> | 2020-01-18 23:10:34 +0100 |
commit | d110a371bb8c6f6416f82eabb8a5b54308291abb (patch) | |
tree | 0eb0656b616840d9cf55b7d35e991035135afd6a /src/video_core/renderer_opengl/gl_rasterizer.cpp | |
parent | Merge pull request #3298 from Simek/missing_hotkeys (diff) | |
download | yuzu-d110a371bb8c6f6416f82eabb8a5b54308291abb.tar yuzu-d110a371bb8c6f6416f82eabb8a5b54308291abb.tar.gz yuzu-d110a371bb8c6f6416f82eabb8a5b54308291abb.tar.bz2 yuzu-d110a371bb8c6f6416f82eabb8a5b54308291abb.tar.lz yuzu-d110a371bb8c6f6416f82eabb8a5b54308291abb.tar.xz yuzu-d110a371bb8c6f6416f82eabb8a5b54308291abb.tar.zst yuzu-d110a371bb8c6f6416f82eabb8a5b54308291abb.zip |
Diffstat (limited to 'src/video_core/renderer_opengl/gl_rasterizer.cpp')
-rw-r--r-- | src/video_core/renderer_opengl/gl_rasterizer.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/video_core/renderer_opengl/gl_rasterizer.cpp b/src/video_core/renderer_opengl/gl_rasterizer.cpp index 926bccd42..c428f06e4 100644 --- a/src/video_core/renderer_opengl/gl_rasterizer.cpp +++ b/src/video_core/renderer_opengl/gl_rasterizer.cpp @@ -1272,7 +1272,7 @@ void RasterizerOpenGL::SyncPointState() { const auto& regs = system.GPU().Maxwell3D().regs; // Limit the point size to 1 since nouveau sometimes sets a point size of 0 (and that's invalid // in OpenGL). - state.point.program_control = regs.vp_point_size.enable ? GL_TRUE : GL_FALSE; + state.point.program_control = regs.vp_point_size.enable != 0; state.point.size = std::max(1.0f, regs.point_size); } |