summaryrefslogtreecommitdiff
path: root/src/mesa/pipe/softpipe/sp_context.c
diff options
context:
space:
mode:
authorBen Skeggs <skeggsb@gmail.com>2007-12-13 10:41:43 +1100
committerBen Skeggs <skeggsb@gmail.com>2007-12-13 10:41:43 +1100
commitf1c5415675f695b302ffb7e5d46473bff9617dc1 (patch)
tree670ac568df5c4fe24454fe85014eefe1d88404df /src/mesa/pipe/softpipe/sp_context.c
parent1fb97368989184c26fe37e98ed6916e6793a0171 (diff)
parent417c2953339bc281f0ac486777afbbd00a385294 (diff)
Merge branch 'upstream-gallium-0.1' into darktama-gallium-0.1
Diffstat (limited to 'src/mesa/pipe/softpipe/sp_context.c')
-rw-r--r--src/mesa/pipe/softpipe/sp_context.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/mesa/pipe/softpipe/sp_context.c b/src/mesa/pipe/softpipe/sp_context.c
index 107c8f8597..dcf0444f6e 100644
--- a/src/mesa/pipe/softpipe/sp_context.c
+++ b/src/mesa/pipe/softpipe/sp_context.c
@@ -49,7 +49,7 @@
/**
* Query format support for creating a texture, drawing surface, etc.
* \param format the format to test
- * \param type one of PIPE_TEXTURE, PIPE_SURFACE, PIPE_SCREEN_SURFACE
+ * \param type one of PIPE_TEXTURE, PIPE_SURFACE
*/
static boolean
softpipe_is_format_supported( struct pipe_context *pipe,
@@ -64,8 +64,6 @@ softpipe_is_format_supported( struct pipe_context *pipe,
case PIPE_SURFACE:
/* softpipe supports all (off-screen) surface formats */
return TRUE;
- case PIPE_SCREEN_SURFACE:
- return softpipe->winsys->is_format_supported( softpipe->winsys, format );
default:
assert(0);
return FALSE;