summaryrefslogtreecommitdiff
path: root/glamor/glamor_dash.c
diff options
context:
space:
mode:
authorKeith Packard <keithp@keithp.com>2014-10-29 23:08:57 -0700
committerEric Anholt <eric@anholt.net>2015-03-24 12:34:50 -0700
commit020fcc582837b80b20843a09c1e28fa96096fe6b (patch)
treef2c9b5c6eb9bd431b36720b798446c56d1ce649f /glamor/glamor_dash.c
parent9ef5cbf8ab8a51941d469bfcaca6cbfb7838d1ef (diff)
glamor: Eliminate separate 'large' pixmap private structure
Just embed the large elements in the regular pixmap private and collapse the union to a single struct. Signed-off-by: Keith Packard <keithp@keithp.com> Signed-off-by: Eric Anholt <eric@anholt.net> Reviewed-by: Eric Anholt <eric@anholt.net>
Diffstat (limited to 'glamor/glamor_dash.c')
-rw-r--r--glamor/glamor_dash.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/glamor/glamor_dash.c b/glamor/glamor_dash.c
index e8f60fa10..49ad3b623 100644
--- a/glamor/glamor_dash.c
+++ b/glamor/glamor_dash.c
@@ -189,7 +189,7 @@ glamor_dash_setup(DrawablePtr drawable, GCPtr gc)
/* Set the dash pattern as texture 1 */
glActiveTexture(GL_TEXTURE1);
- glBindTexture(GL_TEXTURE_2D, dash_priv->base.fbo->tex);
+ glBindTexture(GL_TEXTURE_2D, dash_priv->fbo->tex);
glUniform1i(prog->dash_uniform, 1);
glUniform1f(prog->dash_length_uniform, dash_pixmap->drawable.width);