diff options
Diffstat (limited to 'src/gallium/drivers/svga/svga_context.c')
-rw-r--r-- | src/gallium/drivers/svga/svga_context.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gallium/drivers/svga/svga_context.c b/src/gallium/drivers/svga/svga_context.c index cfb1b9d..91bb60f 100644 --- a/src/gallium/drivers/svga/svga_context.c +++ b/src/gallium/drivers/svga/svga_context.c @@ -159,7 +159,7 @@ struct pipe_context *svga_context_create( struct pipe_screen *screen, goto no_swtnl; ret = svga_emit_initial_state( svga ); - if (ret) + if (ret != PIPE_OK) goto no_state; /* Avoid shortcircuiting state with initial value of zero. |