summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKeith Whitwell <[email protected]>2009-12-04 14:15:21 +0000
committerKeith Whitwell <[email protected]>2009-12-04 14:15:21 +0000
commit6bb415f862fec94b82915f806beb3a7427bd4bb8 (patch)
tree1b6a0c2135159089ba8de0cb031bba3fd882661d
parenta4b3bb12d7627a0bb39dd625e7646c9ef9ccd7fb (diff)
softpipe: dont claim to support PIPE_FORMAT_NONE
-rw-r--r--src/gallium/drivers/softpipe/sp_screen.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/gallium/drivers/softpipe/sp_screen.c b/src/gallium/drivers/softpipe/sp_screen.c
index 6bf3df8e6ad..bd3532de4f4 100644
--- a/src/gallium/drivers/softpipe/sp_screen.c
+++ b/src/gallium/drivers/softpipe/sp_screen.c
@@ -149,6 +149,7 @@ softpipe_is_format_supported( struct pipe_screen *screen,
case PIPE_FORMAT_B6UG5SR5S_NORM:
case PIPE_FORMAT_X8UB8UG8SR8S_NORM:
case PIPE_FORMAT_A8B8G8R8_SNORM:
+ case PIPE_FORMAT_NONE:
return FALSE;
default:
return TRUE;