aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKevin Rushforth <[email protected]>2006-10-20 20:11:37 +0000
committerKevin Rushforth <[email protected]>2006-10-20 20:11:37 +0000
commit1d62a75524a775715a7b26b3256034b00ba3bba1 (patch)
tree2bb6f6402f806848403f70a872200c4e92558f9e
parentc5532f5f8f8b9fe5d4da8ecc5194ec1f864edd23 (diff)
Added comments for issue 364
git-svn-id: https://svn.java.net/svn/j3d-core~svn/trunk@724 ba19aa83-45c5-6ac9-afd3-db810772062c
-rw-r--r--src/classes/share/javax/media/j3d/MasterControl.java10
1 files changed, 9 insertions, 1 deletions
diff --git a/src/classes/share/javax/media/j3d/MasterControl.java b/src/classes/share/javax/media/j3d/MasterControl.java
index 655e9f6..89967fc 100644
--- a/src/classes/share/javax/media/j3d/MasterControl.java
+++ b/src/classes/share/javax/media/j3d/MasterControl.java
@@ -2786,7 +2786,15 @@ class MasterControl {
GraphicsDevice gd = c.graphicsConfiguration.getDevice();
J3dDebug.doAssert((Screen3D.deviceRendererMap.get(gd) != null),
"Screen3D.deviceRendererMap.get(gd) != null");
- synchronized (mcThreadLock) {
+
+ synchronized (mcThreadLock) {
+ // TODO KCR Issue 364: uncomment the following partial fix
+// // Create the master control thread if it isn't already created
+// if (mcThread == null) {
+// //System.err.println("Calling createMasterControlThread()");
+// createMasterControlThread();
+// }
+
// Assert the master control thread is created.
J3dDebug.doAssert((mcThread != null), "mcThread != null");
Renderer rdr = createRenderer(c.graphicsConfiguration);