summaryrefslogtreecommitdiffstats
path: root/src/gallium/auxiliary
diff options
context:
space:
mode:
authorBrian Paul <[email protected]>2008-05-19 09:36:10 -0600
committerBrian Paul <[email protected]>2008-05-19 09:36:10 -0600
commita846b156b8a0d2ef63de8f905af440f54e5668c7 (patch)
treee08afbcda76d2253e9f1fa40e34cc9543092ae78 /src/gallium/auxiliary
parentaafe3ddee276230243ed6767803ce4b6ce2aeec6 (diff)
parent59007a811de2d76ea00164e8f1cacb4a375d1458 (diff)
Merge branch 'gallium-0.1' into gallium-tex-surfaces
Diffstat (limited to 'src/gallium/auxiliary')
-rw-r--r--src/gallium/auxiliary/draw/draw_vs_sse.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/gallium/auxiliary/draw/draw_vs_sse.c b/src/gallium/auxiliary/draw/draw_vs_sse.c
index 5929ea76b23..e3f4e67472a 100644
--- a/src/gallium/auxiliary/draw/draw_vs_sse.c
+++ b/src/gallium/auxiliary/draw/draw_vs_sse.c
@@ -215,6 +215,9 @@ draw_create_vs_sse(struct draw_context *draw,
goto fail;
vs->func = (codegen_function) x86_get_func( &vs->sse2_program );
+ if (!vs->func) {
+ goto fail;
+ }
return &vs->base;