diff options
author | Benjamin Franzke <[email protected]> | 2011-02-09 20:48:38 +0100 |
---|---|---|
committer | Kristian Høgsberg <[email protected]> | 2011-02-10 23:07:01 -0500 |
commit | fa3283cca8a2b010db60d9879b0f87802c0c9a3f (patch) | |
tree | b8ded50bec2fa1d05e6f7e24c274d060ea6c448e /src/gallium/state_trackers | |
parent | 0acb31be171f01aec8b38ceaddf47b7da6dae2a0 (diff) |
st/dri: img_from_renderbuf: Fix incorrect usage of dri_context()
Diffstat (limited to 'src/gallium/state_trackers')
-rw-r--r-- | src/gallium/state_trackers/dri/drm/dri2.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gallium/state_trackers/dri/drm/dri2.c b/src/gallium/state_trackers/dri/drm/dri2.c index be740ad39b7..a69f20e6085 100644 --- a/src/gallium/state_trackers/dri/drm/dri2.c +++ b/src/gallium/state_trackers/dri/drm/dri2.c @@ -459,7 +459,7 @@ static __DRIimage * dri2_create_image_from_renderbuffer(__DRIcontext *context, int renderbuffer, void *loaderPrivate) { - struct dri_context *ctx = dri_context(context->driverPrivate); + struct dri_context *ctx = dri_context(context); if (!ctx->st->get_resource_for_egl_image) return NULL; |