summaryrefslogtreecommitdiffstats
path: root/src/gallium
diff options
context:
space:
mode:
authorVinson Lee <[email protected]>2011-03-11 13:37:30 -0800
committerVinson Lee <[email protected]>2011-03-11 13:37:30 -0800
commit9c366ceedbb9d550c830ba9a8b80b7675e42917b (patch)
treeef8ccbbbb4cfb0a304d1e1d0674fa8a69886caa9 /src/gallium
parentd17ef8636d9212d92815ffdff092bad3df1af06b (diff)
st/python: Remove the geom_flags param from is_format_supported.
Diffstat (limited to 'src/gallium')
-rw-r--r--src/gallium/state_trackers/python/p_device.i6
1 files changed, 2 insertions, 4 deletions
diff --git a/src/gallium/state_trackers/python/p_device.i b/src/gallium/state_trackers/python/p_device.i
index cc67da937cd..61f6b3bb739 100644
--- a/src/gallium/state_trackers/python/p_device.i
+++ b/src/gallium/state_trackers/python/p_device.i
@@ -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 *