diff options
author | José Fonseca <jfonseca@vmware.com> | 2010-11-16 18:56:39 +0000 |
---|---|---|
committer | José Fonseca <jfonseca@vmware.com> | 2010-11-16 18:56:39 +0000 |
commit | 4f84a3aa32b06c99e65a4bf91452671075f8204c (patch) | |
tree | 412909850597e36f9d30ca6c7c28686925b16529 /src/gallium/targets/libgl-gdi/SConscript | |
parent | 063c6b8f74d114241f663ef8fd93732a0a07c10f (diff) |
libgl-gdi: Allow to pick softpipe/llvmpipe on runtime.
Diffstat (limited to 'src/gallium/targets/libgl-gdi/SConscript')
-rw-r--r-- | src/gallium/targets/libgl-gdi/SConscript | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/src/gallium/targets/libgl-gdi/SConscript b/src/gallium/targets/libgl-gdi/SConscript index 339238756a..6fa0851a1a 100644 --- a/src/gallium/targets/libgl-gdi/SConscript +++ b/src/gallium/targets/libgl-gdi/SConscript @@ -18,16 +18,15 @@ env.Append(LIBS = [ talloc, ]) -sources = [] +sources = ['libgl_gdi.c'] drivers = [] if True: - sources = ['gdi_softpipe_winsys.c'] - drivers = [softpipe] + drivers += [softpipe] if env['llvm']: - sources = ['gdi_llvmpipe_winsys.c'] - drivers = [llvmpipe] + env.Append(CPPDEFINES = 'HAVE_LLVMPIPE') + drivers += [llvmpipe] if env['gcc']: sources += ['#src/gallium/state_trackers/wgl/opengl32.mingw.def'] |