diff options
author | José Fonseca <jfonseca@vmware.com> | 2010-03-10 12:00:13 +0000 |
---|---|---|
committer | José Fonseca <jfonseca@vmware.com> | 2010-03-10 12:00:13 +0000 |
commit | 7b8641bbba995bc3fc299b1018720caa1e91cb9f (patch) | |
tree | af0d97dd4fb72a878b211400031aa66f61e94b40 /src/gallium/state_trackers | |
parent | fc08d13fdcfe637064e92f962b1704fde193e70b (diff) |
python: More build fixes.
Diffstat (limited to 'src/gallium/state_trackers')
-rw-r--r-- | src/gallium/state_trackers/python/SConscript | 3 | ||||
-rw-r--r-- | src/gallium/state_trackers/python/st_device.c | 5 |
2 files changed, 7 insertions, 1 deletions
diff --git a/src/gallium/state_trackers/python/SConscript b/src/gallium/state_trackers/python/SConscript index 8010f122b7..2b44c13737 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 3aeb6226d0..335e8e7f0d 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; |