diff options
Diffstat (limited to 'src/video_core')
| -rw-r--r-- | src/video_core/renderer_opengl/renderer_opengl.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/video_core/renderer_opengl/renderer_opengl.cpp b/src/video_core/renderer_opengl/renderer_opengl.cpp index d15167e19..285e78384 100644 --- a/src/video_core/renderer_opengl/renderer_opengl.cpp +++ b/src/video_core/renderer_opengl/renderer_opengl.cpp | |||
| @@ -145,7 +145,7 @@ RendererOpenGL::RendererOpenGL(Core::TelemetrySession& telemetry_session_, | |||
| 145 | GLint max_attribs{}; | 145 | GLint max_attribs{}; |
| 146 | glGetIntegerv(GL_MAX_VERTEX_ATTRIBS, &max_attribs); | 146 | glGetIntegerv(GL_MAX_VERTEX_ATTRIBS, &max_attribs); |
| 147 | for (GLint attrib = 0; attrib < max_attribs; ++attrib) { | 147 | for (GLint attrib = 0; attrib < max_attribs; ++attrib) { |
| 148 | glVertexAttrib4f(attrib, 0.0f, 0.0f, 0.0f, 0.0f); | 148 | glVertexAttrib4f(attrib, 0.0f, 0.0f, 0.0f, 1.0f); |
| 149 | } | 149 | } |
| 150 | // Enable seamless cubemaps when per texture parameters are not available | 150 | // Enable seamless cubemaps when per texture parameters are not available |
| 151 | if (!GLAD_GL_ARB_seamless_cubemap_per_texture && !GLAD_GL_AMD_seamless_cubemap_per_texture) { | 151 | if (!GLAD_GL_ARB_seamless_cubemap_per_texture && !GLAD_GL_AMD_seamless_cubemap_per_texture) { |