diff options
| author | ReinUsesLisp <reinuseslisp@airmail.cc> | 2020-01-15 16:14:17 -0300 |
|---|---|---|
| committer | ReinUsesLisp <reinuseslisp@airmail.cc> | 2020-01-15 16:14:17 -0300 |
| commit | c375d735e66b275d70de7c8a29113cf1e1e41d7e (patch) | |
| tree | b9797b0801720f2710681dd527916a61affa3557 /src/video_core/renderer_opengl/gl_state.h | |
| parent | 64cd46579bd822ce9ee75e599973c1936eef965e (diff) | |
gl_state: Implement PROGRAM_POINT_SIZE
For gl_PointSize to have effect we have to activate
GL_PROGRAM_POINT_SIZE.
Diffstat (limited to 'src/video_core/renderer_opengl/gl_state.h')
| -rw-r--r-- | src/video_core/renderer_opengl/gl_state.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/video_core/renderer_opengl/gl_state.h b/src/video_core/renderer_opengl/gl_state.h index fb180f302..71d418776 100644 --- a/src/video_core/renderer_opengl/gl_state.h +++ b/src/video_core/renderer_opengl/gl_state.h @@ -131,7 +131,8 @@ public: std::array<Viewport, Tegra::Engines::Maxwell3D::Regs::NumViewports> viewports; struct { - float size = 1.0f; // GL_POINT_SIZE + GLboolean program_control = GL_FALSE; // GL_PROGRAM_POINT_SIZE + GLfloat size = 1.0f; // GL_POINT_SIZE } point; struct { |
