* auto/fixed threads option is used now, patch by Thomas.
* remove unused CUDA_LIBRARIES, library is dynamically loaded
* fix mesh XML export operator for API update
This commit is contained in:
Brecht Van Lommel
2011-08-24 10:44:04 +00:00
parent 29bdf37f9d
commit 48b4de3152
11 changed files with 38 additions and 25 deletions

View File

@@ -37,7 +37,7 @@ Session::Session(const SessionParams& params_)
{
device_use_gl = (params.device_type == DEVICE_CUDA && !params.background);
device = Device::create(params.device_type, params.background);
device = Device::create(params.device_type, params.background, params.threads);
buffers = new RenderBuffers(device);
display = new DisplayBuffer(device);