[Bf-blender-cvs] SVN commit: /data/svn/bf-blender [42601] trunk/blender/intern/cycles/device /device_cuda.cpp: Fix cycles compile for win32.

Miika Hamalainen miika.hamalainen at kolumbus.fi
Tue Dec 13 11:17:18 CET 2011


Revision: 42601
          http://projects.blender.org/scm/viewvc.php?view=rev&root=bf-blender&revision=42601
Author:   miikah
Date:     2011-12-13 10:17:17 +0000 (Tue, 13 Dec 2011)
Log Message:
-----------
Fix cycles compile for win32.

Modified Paths:
--------------
    trunk/blender/intern/cycles/device/device_cuda.cpp

Modified: trunk/blender/intern/cycles/device/device_cuda.cpp
===================================================================
--- trunk/blender/intern/cycles/device/device_cuda.cpp	2011-12-13 10:15:14 UTC (rev 42600)
+++ trunk/blender/intern/cycles/device/device_cuda.cpp	2011-12-13 10:17:17 UTC (rev 42601)
@@ -255,7 +255,7 @@
 		if(major <= 1 && minor <= 2)
 			cuda_error(string_printf("CUDA device supported only with shader model 1.3 or up, found %d.%d.", major, minor));
 		else
-			cuda_error("CUDA binary kernel for this graphics card shader model (%d.%d) not found.", major, minor);
+			cuda_error(string_printf("CUDA binary kernel for this graphics card shader model (%d.%d) not found.", major, minor));
 		return "";
 #else
 		/* if not, find CUDA compiler */




More information about the Bf-blender-cvs mailing list