st/python: Remove the geom_flags param from is_format_supported.
This commit is contained in:
parent
d17ef8636d
commit
9c366ceedb
|
@ -86,8 +86,7 @@ struct st_device {
|
||||||
int is_format_supported( enum pipe_format format,
|
int is_format_supported( enum pipe_format format,
|
||||||
enum pipe_texture_target target,
|
enum pipe_texture_target target,
|
||||||
unsigned sample_count,
|
unsigned sample_count,
|
||||||
unsigned bind,
|
unsigned bind ) {
|
||||||
unsigned geom_flags ) {
|
|
||||||
/* We can't really display surfaces with the python statetracker so mask
|
/* We can't really display surfaces with the python statetracker so mask
|
||||||
* out that usage */
|
* out that usage */
|
||||||
bind &= ~PIPE_BIND_DISPLAY_TARGET;
|
bind &= ~PIPE_BIND_DISPLAY_TARGET;
|
||||||
|
@ -96,8 +95,7 @@ struct st_device {
|
||||||
format,
|
format,
|
||||||
target,
|
target,
|
||||||
sample_count,
|
sample_count,
|
||||||
bind,
|
bind );
|
||||||
geom_flags );
|
|
||||||
}
|
}
|
||||||
|
|
||||||
struct st_context *
|
struct st_context *
|
||||||
|
|
Loading…
Reference in New Issue