summaryrefslogtreecommitdiffstats
path: root/src/gallium/state_trackers/python/samples
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/samples
parent3679f690230b9691157d44cfa5baf947d84e1487 (diff)
python: Surface clears.
Diffstat (limited to 'src/gallium/state_trackers/python/samples')
-rw-r--r--src/gallium/state_trackers/python/samples/simple.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/gallium/state_trackers/python/samples/simple.py b/src/gallium/state_trackers/python/samples/simple.py
index 6e90eec28ae..10742db0dc0 100644
--- a/src/gallium/state_trackers/python/samples/simple.py
+++ b/src/gallium/state_trackers/python/samples/simple.py
@@ -142,6 +142,8 @@ def test(dev):
#fs.dump()
ctx.set_fragment_shader(fs)
+ ctx.surface_clear(surface, 0x00ff0000)
+
if 0:
nverts = 4
nattrs = 1