summaryrefslogtreecommitdiffstats
path: root/src/gallium/state_trackers
diff options
context:
space:
mode:
authorJosé Fonseca <[email protected]>2010-03-10 12:00:13 +0000
committerJosé Fonseca <[email protected]>2010-03-10 12:00:13 +0000
commit7b8641bbba995bc3fc299b1018720caa1e91cb9f (patch)
treeaf0d97dd4fb72a878b211400031aa66f61e94b40 /src/gallium/state_trackers
parentfc08d13fdcfe637064e92f962b1704fde193e70b (diff)
python: More build fixes.
Diffstat (limited to 'src/gallium/state_trackers')
-rw-r--r--src/gallium/state_trackers/python/SConscript3
-rw-r--r--src/gallium/state_trackers/python/st_device.c5
2 files changed, 7 insertions, 1 deletions
diff --git a/src/gallium/state_trackers/python/SConscript b/src/gallium/state_trackers/python/SConscript
index 8010f122b73..2b44c137373 100644
--- a/src/gallium/state_trackers/python/SConscript
+++ b/src/gallium/state_trackers/python/SConscript
@@ -38,8 +38,9 @@ if 'python' in env['statetrackers']:
]
env.Prepend(LIBS = [
+ ws_null,
trace,
- gallium
+ gallium,
])
if 'llvmpipe' in env['drivers']:
diff --git a/src/gallium/state_trackers/python/st_device.c b/src/gallium/state_trackers/python/st_device.c
index 3aeb6226d00..335e8e7f0d8 100644
--- a/src/gallium/state_trackers/python/st_device.c
+++ b/src/gallium/state_trackers/python/st_device.c
@@ -34,6 +34,7 @@
#include "util/u_math.h"
#include "util/u_memory.h"
#include "util/u_simple_shaders.h"
+#include "trace/tr_public.h"
#include "st_device.h"
#include "st_winsys.h"
@@ -84,6 +85,10 @@ st_device_create(boolean hardware)
else
screen = st_software_screen_create();
+ screen = trace_screen_create(screen);
+ if (!screen)
+ goto no_screen;
+
st_dev = CALLOC_STRUCT(st_device);
if (!st_dev)
goto no_device;