removed fixmes

define_list_fix
shamanDevel 9 years ago
parent e32ebe11bb
commit bd491dc416
  1. 6
      jme3-lwjgl3/src/main/java/com/jme3/system/lwjgl/LwjglContext.java

@ -75,8 +75,6 @@ public abstract class LwjglContext implements JmeContext {
private static final Logger logger = Logger.getLogger(LwjglContext.class.getName()); private static final Logger logger = Logger.getLogger(LwjglContext.class.getName());
//Fixme: OpenGL/CL sharing does not work yet, this line disables the sharing methods
//(They will throw an OpenCLException)
public static final boolean CL_GL_SHARING_POSSIBLE = true; public static final boolean CL_GL_SHARING_POSSIBLE = true;
protected static final String THREAD_NAME = "jME3 Main"; protected static final String THREAD_NAME = "jME3 Main";
@ -298,10 +296,6 @@ public abstract class LwjglContext implements JmeContext {
} }
private long createContext(final CLPlatform platform, final List<CLDevice> devices, long window) throws Exception { private long createContext(final CLPlatform platform, final List<CLDevice> devices, long window) throws Exception {
//Fixme: OpenGL/CL sharing does not work. The properties seem to be setup wrongly
// If it works, set CL_GL_SHARING_POSSIBLE to true to enable the sharing
// methods again
final int propertyCount = 2 + 4 + 1; final int propertyCount = 2 + 4 + 1;
final PointerBuffer properties = PointerBuffer.allocateDirect(propertyCount + devices.size()); final PointerBuffer properties = PointerBuffer.allocateDirect(propertyCount + devices.size());

Loading…
Cancel
Save