diff options
author | Jakob Bornecrantz <wallbraker@gmail.com> | 2009-03-04 00:35:33 +0100 |
---|---|---|
committer | Jakob Bornecrantz <wallbraker@gmail.com> | 2009-03-04 00:35:33 +0100 |
commit | 28c325f8d3925d703a0cc5a3d3d3fa57b7f11fe4 (patch) | |
tree | ea3e03a08d06bad7f3a7f2b2eeb1941ec2c038ce /src/gallium/state_trackers/dri2/dri_context.c | |
parent | b7b046150bc61604777baa8a57f81d770837bd10 (diff) |
st/dri2: Hook up flush_frontbuffer
Doesn't do anything because we can't tell the X server about
any changes to the fake front buffer.
Diffstat (limited to 'src/gallium/state_trackers/dri2/dri_context.c')
-rw-r--r-- | src/gallium/state_trackers/dri2/dri_context.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/gallium/state_trackers/dri2/dri_context.c b/src/gallium/state_trackers/dri2/dri_context.c index b8e92a76c0..92c26ac70f 100644 --- a/src/gallium/state_trackers/dri2/dri_context.c +++ b/src/gallium/state_trackers/dri2/dri_context.c @@ -76,7 +76,8 @@ dri_create_context(const __GLcontextModes *visual, if (ctx->pipe == NULL) goto fail; - ctx->pipe->priv = ctx; /* I guess */ + /* used in dri_flush_frontbuffer */ + ctx->pipe->priv = ctx; ctx->st = st_create_context(ctx->pipe, visual, st_share); if (ctx->st == NULL) @@ -152,6 +153,7 @@ dri_make_current(__DRIcontextPrivate *cPriv, draw->stfb, read->stfb); + /* used in dri_flush_frontbuffer */ ctx->dPriv = driDrawPriv; if (driDrawPriv) |