summaryrefslogtreecommitdiffstats
path: root/src/mesa/state_tracker/st_manager.c
diff options
context:
space:
mode:
authorJakob Borncrantz <[email protected]>2010-05-21 23:25:45 +0100
committerJakob Bornecrantz <[email protected]>2010-05-21 23:29:05 +0100
commit4db0c760195c67f1bc114fdfb8464791030a526c (patch)
tree7150261c8b1e9c2e80d8647a7abbf87c151c96cc /src/mesa/state_tracker/st_manager.c
parentffd2bc3dfbcccd3c38ff93ac107027a5a5764eb5 (diff)
st_api: Give get_egl_image arguments directly to the function
Diffstat (limited to 'src/mesa/state_tracker/st_manager.c')
-rw-r--r--src/mesa/state_tracker/st_manager.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/mesa/state_tracker/st_manager.c b/src/mesa/state_tracker/st_manager.c
index d7523e4941e..8c3dfb3f71f 100644
--- a/src/mesa/state_tracker/st_manager.c
+++ b/src/mesa/state_tracker/st_manager.c
@@ -756,9 +756,7 @@ st_manager_get_egl_image_surface(struct st_context *st,
return NULL;
memset(&stimg, 0, sizeof(stimg));
- stimg.stctxi = &st->iface;
- stimg.egl_image = eglimg;
- if (!smapi->get_egl_image(smapi, &stimg))
+ if (!smapi->get_egl_image(smapi, &st->iface, eglimg, &stimg))
return NULL;
ps = smapi->screen->get_tex_surface(smapi->screen,