summaryrefslogtreecommitdiffstats
path: root/progs
diff options
context:
space:
mode:
Diffstat (limited to 'progs')
-rwxr-xr-xprogs/gallium/python/retrace/interpreter.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/progs/gallium/python/retrace/interpreter.py b/progs/gallium/python/retrace/interpreter.py
index 7277701279c..a34122e0e0f 100755
--- a/progs/gallium/python/retrace/interpreter.py
+++ b/progs/gallium/python/retrace/interpreter.py
@@ -272,6 +272,10 @@ class Screen(Object):
def get_paramf(self, param):
pass
+ def context_create(self):
+ context = self.real.context_create()
+ return Context(self.interpreter, context)
+
def is_format_supported(self, format, target, tex_usage, geom_flags):
return self.real.is_format_supported(format, target, tex_usage, geom_flags)