From: <sp...@us...> - 2011-12-20 19:06:58
|
Revision: 3715 http://java-game-lib.svn.sourceforge.net/java-game-lib/?rev=3715&view=rev Author: spasi Date: 2011-12-20 19:06:52 +0000 (Tue, 20 Dec 2011) Log Message: ----------- Added @Optional on clSetPrintfCallback for the AMD CL 1.2 preview driver. Modified Paths: -------------- trunk/LWJGL/src/templates/org/lwjgl/opencl/CL12.java Modified: trunk/LWJGL/src/templates/org/lwjgl/opencl/CL12.java =================================================================== --- trunk/LWJGL/src/templates/org/lwjgl/opencl/CL12.java 2011-12-20 17:16:23 UTC (rev 3714) +++ trunk/LWJGL/src/templates/org/lwjgl/opencl/CL12.java 2011-12-20 19:06:52 UTC (rev 3715) @@ -419,6 +419,7 @@ @Check(canBeNull = true) @Const @NativeType("cl_event") PointerBuffer event_wait_list, @OutParameter @Check(value = "1", canBeNull = true) @NativeType("cl_event") PointerBuffer event); + @Optional(reason = "Missing from AMD CL 1.2 preview drivers.") @Code( tryBlock = true, // Create a GlobalRef to the callback object. This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |