softpipe: dont claim to support PIPE_FORMAT_NONE
authorKeith Whitwell <keithw@vmware.com>
Fri, 4 Dec 2009 14:15:21 +0000 (14:15 +0000)
committerKeith Whitwell <keithw@vmware.com>
Fri, 4 Dec 2009 14:15:21 +0000 (14:15 +0000)
src/gallium/drivers/softpipe/sp_screen.c

index 6bf3df8e6ad3ac457cade98494605af59dfa5c2f..bd3532de4f445f1b90ad4581c5a3c11619e5714a 100644 (file)
@@ -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;