summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/softpipe/sp_texture.c
diff options
context:
space:
mode:
authorYounes Manton <[email protected]>2009-09-27 23:14:52 -0400
committerYounes Manton <[email protected]>2009-09-27 23:14:52 -0400
commitd52d51ab8ae1240f77b6c18c3e99be4bf4868037 (patch)
treef71218dee94accbcf54674e05bc39c74ae81538a /src/gallium/drivers/softpipe/sp_texture.c
parent97c28bb63a4e1029eaf36d23b780f4d3396118a0 (diff)
g3dvl: Formatting and cleanups.
Diffstat (limited to 'src/gallium/drivers/softpipe/sp_texture.c')
-rw-r--r--src/gallium/drivers/softpipe/sp_texture.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/gallium/drivers/softpipe/sp_texture.c b/src/gallium/drivers/softpipe/sp_texture.c
index 45289380d08..1c64d58372d 100644
--- a/src/gallium/drivers/softpipe/sp_texture.c
+++ b/src/gallium/drivers/softpipe/sp_texture.c
@@ -415,8 +415,7 @@ softpipe_video_surface_create(struct pipe_screen *screen,
template.tex_usage = PIPE_TEXTURE_USAGE_SAMPLER | PIPE_TEXTURE_USAGE_RENDER_TARGET;
sp_vsfc->tex = screen->texture_create(screen, &template);
- if (!sp_vsfc->tex)
- {
+ if (!sp_vsfc->tex) {
FREE(sp_vsfc);
return NULL;
}