diff options
author | Campbell Barton <ideasman42@gmail.com> | 2010-10-22 05:06:21 +0400 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2010-10-22 05:06:21 +0400 |
commit | 97784a7186f00e5eea1b241e528ea105ddcdef64 (patch) | |
tree | 25bdcc6d2dd92952007d8530df60842cbf86e3ab /source/blender | |
parent | e51bb1fb0ee1ba5e297b25e3f2474c4762546183 (diff) |
fix for warnings & detecting opensource nouveau drivers.
Diffstat (limited to 'source/blender')
-rw-r--r-- | source/blender/gpu/intern/gpu_extensions.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/gpu/intern/gpu_extensions.c b/source/blender/gpu/intern/gpu_extensions.c index 49f9fbebf56..70a74aafead 100644 --- a/source/blender/gpu/intern/gpu_extensions.c +++ b/source/blender/gpu/intern/gpu_extensions.c @@ -135,7 +135,7 @@ void GPU_extensions_init() GG.device = GPU_DEVICE_ATI; GG.driver = GPU_DRIVER_OPENSOURCE; } - else if(strstr(renderer, "Nouveau")) { + else if(strstr(renderer, "Nouveau") || strstr(vendor, "nouveau")) { GG.device = GPU_DEVICE_NVIDIA; GG.driver = GPU_DRIVER_OPENSOURCE; } |