summaryrefslogtreecommitdiffstats
path: root/src/gallium/state_trackers/python/gallium.i
diff options
context:
space:
mode:
authorJosé Fonseca <[email protected]>2008-07-14 11:44:21 +0900
committerJosé Fonseca <[email protected]>2008-07-14 12:41:07 +0900
commitf07ad529af96b903e7b19fa26c3372d16b507bf1 (patch)
tree9586af73709381c0426e386635853cb7137dcee9 /src/gallium/state_trackers/python/gallium.i
parent3679f690230b9691157d44cfa5baf947d84e1487 (diff)
python: Surface clears.
Diffstat (limited to 'src/gallium/state_trackers/python/gallium.i')
-rw-r--r--src/gallium/state_trackers/python/gallium.i2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gallium/state_trackers/python/gallium.i b/src/gallium/state_trackers/python/gallium.i
index 6e355b79757..f616037ec2f 100644
--- a/src/gallium/state_trackers/python/gallium.i
+++ b/src/gallium/state_trackers/python/gallium.i
@@ -367,7 +367,7 @@ error1:
$self->pipe->surface_fill($self->pipe, dst, x, y, width, height, value);
}
- void clear(struct pipe_surface *surface, unsigned value) {
+ void surface_clear(struct pipe_surface *surface, unsigned value = 0) {
$self->pipe->clear($self->pipe, surface, value);
}