Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
SUSE:SLE-12-SP4:GA
xorg-x11-server.33719
U_glamor-spans-fixup-wrong-count-on-glDrawArray...
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File U_glamor-spans-fixup-wrong-count-on-glDrawArrays.patch of Package xorg-x11-server.33719
From: Mark Yao <mark.yao@rock-chips.com> Date: Fri Sep 30 16:42:35 2016 +0800 Subject: [PATCH]glamor: spans: fixup wrong count on glDrawArrays Patch-mainline: c9b8ce73927a43ed82b267d1c1985445f24827cc Git-repo: git://anongit.freedesktop.org/xorg/xserver References: boo#1051350 Signed-off-by: Max Staudt <mstaudt@suse.de> In commit 9e9fcf5 (glamor: Add a helper function for the common GL_QUADS fallback pattern.), the glDrawArrays count change was accidentally changed to nbox. Fixes xlogo with MESA_GL_VERSION_OVERRIDE=2.1 and MESA_GLSL_VERSION_OVERRIDE=120 Signed-off-by: Mark Yao <mark.yao@rock-chips.com> Reviewed-by: Eric Anholt <eric@anholt.net> --- glamor/glamor_spans.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/glamor/glamor_spans.c b/glamor/glamor_spans.c index 89a9c5102..ce4c55cea 100644 --- a/glamor/glamor_spans.c +++ b/glamor/glamor_spans.c @@ -135,7 +135,7 @@ glamor_fill_spans_gl(DrawablePtr drawable, if (glamor_priv->glsl_version >= 130) glDrawArraysInstanced(GL_TRIANGLE_STRIP, 0, 4, n); else { - glamor_glDrawArrays_GL_QUADS(glamor_priv, nbox); + glamor_glDrawArrays_GL_QUADS(glamor_priv, n); } } }
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor