summaryrefslogtreecommitdiff
path: root/src/gallium
diff options
context:
space:
mode:
authorZack Rusin <zackr@vmware.com>2009-08-24 18:42:16 -0400
committerZack Rusin <zackr@vmware.com>2009-08-24 18:42:16 -0400
commitffe8cc6cef9df796500a30acf88ffeac7588c28a (patch)
tree69dcb7125f20a3960eeddedecfc70f8cfc3a0e72 /src/gallium
parent17076d700c94402f82c22b2e1d99a1753e4a0834 (diff)
xorg: fix compilation
Diffstat (limited to 'src/gallium')
-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 151cb84b60..85451e4034 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;
}