summaryrefslogtreecommitdiffstats
path: root/src/video_core
diff options
context:
space:
mode:
authorameerj <52414509+ameerj@users.noreply.github.com>2021-07-17 22:16:23 +0200
committerameerj <52414509+ameerj@users.noreply.github.com>2021-07-23 03:51:40 +0200
commit56478bc9ac5a01ca5c73ba72faae1a5eaae0f8cb (patch)
tree4b6a00e1143af807cec12f1b9202e73b0d9ac7aa /src/video_core
parentgl_device: Simplify GLASM setting logic (diff)
downloadyuzu-56478bc9ac5a01ca5c73ba72faae1a5eaae0f8cb.tar
yuzu-56478bc9ac5a01ca5c73ba72faae1a5eaae0f8cb.tar.gz
yuzu-56478bc9ac5a01ca5c73ba72faae1a5eaae0f8cb.tar.bz2
yuzu-56478bc9ac5a01ca5c73ba72faae1a5eaae0f8cb.tar.lz
yuzu-56478bc9ac5a01ca5c73ba72faae1a5eaae0f8cb.tar.xz
yuzu-56478bc9ac5a01ca5c73ba72faae1a5eaae0f8cb.tar.zst
yuzu-56478bc9ac5a01ca5c73ba72faae1a5eaae0f8cb.zip
Diffstat (limited to 'src/video_core')
-rw-r--r--src/video_core/renderer_opengl/renderer_opengl.cpp2
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_,
GLint max_attribs{};
glGetIntegerv(GL_MAX_VERTEX_ATTRIBS, &max_attribs);
for (GLint attrib = 0; attrib < max_attribs; ++attrib) {
- glVertexAttrib4f(attrib, 0.0f, 0.0f, 0.0f, 0.0f);
+ glVertexAttrib4f(attrib, 0.0f, 0.0f, 0.0f, 1.0f);
}
// Enable seamless cubemaps when per texture parameters are not available
if (!GLAD_GL_ARB_seamless_cubemap_per_texture && !GLAD_GL_AMD_seamless_cubemap_per_texture) {