Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBrecht Van Lommel <brechtvanlommel@gmail.com>2018-02-07 19:17:24 +0300
committerBrecht Van Lommel <brechtvanlommel@gmail.com>2018-02-07 19:17:24 +0300
commitade2aaba0906571ed78312a996eac4ec511831e7 (patch)
treeed713f869305164decdaa2620ee0368a46e484f9 /intern/opensubdiv
parent56f6938b5e8bad59fa422341b830555ddec466e9 (diff)
parent1dafe759edc3bc9a89f99a894d1c1fb3a14f44a9 (diff)
Merge branch 'master' into blender2.8
Diffstat (limited to 'intern/opensubdiv')
-rw-r--r--intern/opensubdiv/opensubdiv_device_context_cuda.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/intern/opensubdiv/opensubdiv_device_context_cuda.cc b/intern/opensubdiv/opensubdiv_device_context_cuda.cc
index 81c52f5d6cf..46b66a6b35e 100644
--- a/intern/opensubdiv/opensubdiv_device_context_cuda.cc
+++ b/intern/opensubdiv/opensubdiv_device_context_cuda.cc
@@ -187,7 +187,7 @@ bool CudaDeviceContext::HAS_CUDA_VERSION_4_0()
cudaInitialized = true;
# ifdef OPENSUBDIV_HAS_CUEW
- cudaLoadSuccess = cuewInit() == CUEW_SUCCESS;
+ cudaLoadSuccess = cuewInit(CUEW_INIT_CUDA) == CUEW_SUCCESS;
if (!cudaLoadSuccess) {
fprintf(stderr, "Loading CUDA failed.\n");
}