diff options
Diffstat (limited to 'glamor/glamor_spans.c')
-rw-r--r-- | glamor/glamor_spans.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/glamor/glamor_spans.c b/glamor/glamor_spans.c index 5217d0434..9a2aecd9d 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); } } } |