summaryrefslogtreecommitdiffstats
path: root/src/gallium/state_trackers
diff options
context:
space:
mode:
Diffstat (limited to 'src/gallium/state_trackers')
-rw-r--r--src/gallium/state_trackers/xorg/xorg_exa_tgsi.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/gallium/state_trackers/xorg/xorg_exa_tgsi.c b/src/gallium/state_trackers/xorg/xorg_exa_tgsi.c
index 151cb84b600..85451e40343 100644
--- a/src/gallium/state_trackers/xorg/xorg_exa_tgsi.c
+++ b/src/gallium/state_trackers/xorg/xorg_exa_tgsi.c
@@ -113,7 +113,7 @@ struct xorg_shader xorg_shader_construct(struct exa_context *exa,
dst_picture);
struct xorg_shader shader = {0};
- ureg = ureg_create(exa->ctx, TGSI_PROCESSOR_FRAGMENT);
+ ureg = ureg_create(TGSI_PROCESSOR_FRAGMENT);
if (ureg == NULL)
return shader;
@@ -154,4 +154,5 @@ struct xorg_shader xorg_shader_construct(struct exa_context *exa,
ureg_END(ureg);
+ return shader;
}