python/retrace: Add missing colon.
authorJosé Fonseca <jfonseca@vmware.com>
Mon, 2 Nov 2009 09:47:24 +0000 (09:47 +0000)
committerJosé Fonseca <jfonseca@vmware.com>
Tue, 3 Nov 2009 17:12:33 +0000 (17:12 +0000)
src/gallium/state_trackers/python/retrace/interpreter.py

index f4ed2fde4dc161ebf53185323442b6ca3cc214e5..c3bc6bc43c62a10e95dd168a516081b1328720b2 100755 (executable)
@@ -314,7 +314,7 @@ class Screen(Object):
         if texture is None:
             return None
         transfer = Transfer(texture.get_surface(face, level, zslice), x, y, w, h)
-        if transfer and usage & gallium.PIPE_TRANSFER_READ
+        if transfer and usage & gallium.PIPE_TRANSFER_READ:
             if self.interpreter.options.all:
                 self.interpreter.present(transfer.surface, 'transf_read', x, y, w, h)
         return transfer