st/python: Remove the geom_flags param from is_format_supported.

This commit is contained in:
Vinson Lee 2011-03-11 13:37:30 -08:00
parent d17ef8636d
commit 9c366ceedb
1 changed files with 2 additions and 4 deletions

View File

@ -86,8 +86,7 @@ struct st_device {
int is_format_supported( enum pipe_format format,
enum pipe_texture_target target,
unsigned sample_count,
unsigned bind,
unsigned geom_flags ) {
unsigned bind ) {
/* We can't really display surfaces with the python statetracker so mask
* out that usage */
bind &= ~PIPE_BIND_DISPLAY_TARGET;
@ -96,8 +95,7 @@ struct st_device {
format,
target,
sample_count,
bind,
geom_flags );
bind );
}
struct st_context *