st/python: Remove the geom_flags param from is_format_supported.
authorVinson Lee <vlee@vmware.com>
Fri, 11 Mar 2011 21:37:30 +0000 (13:37 -0800)
committerVinson Lee <vlee@vmware.com>
Fri, 11 Mar 2011 21:37:30 +0000 (13:37 -0800)
src/gallium/state_trackers/python/p_device.i

index cc67da937cd5dbe1e67caa9053ecdef5fe1feffb..61f6b3bb739f8496676fd9725958cb0dcae7599c 100644 (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 *