summaryrefslogtreecommitdiffstats
path: root/src/test/com/jogamp/opengl
diff options
context:
space:
mode:
authorSven Gothel <[email protected]>2013-10-27 18:52:00 +0100
committerSven Gothel <[email protected]>2013-10-27 18:52:00 +0100
commitaa7cbaea0c6998644ca9311f269ba0aae224d1c4 (patch)
tree89b0d5b0009f9cfd47bb32264737e2e3583bacd2 /src/test/com/jogamp/opengl
parent7f7a23dd0ddf106e6f0c69fc2a05ff92ac56200e (diff)
Fix GLCanvas ctor shared GLContext: Use helper.setSharedContext(..) remove local shared ctx fields.
Regression of 7f7a23dd0ddf106e6f0c69fc2a05ff92ac56200e
Diffstat (limited to 'src/test/com/jogamp/opengl')
-rw-r--r--src/test/com/jogamp/opengl/test/junit/jogl/acore/TestSharedContextVBOES2AWT3.java2
-rw-r--r--src/test/com/jogamp/opengl/test/junit/jogl/acore/TestSharedContextWithJTabbedPaneAWT.java1
2 files changed, 2 insertions, 1 deletions
diff --git a/src/test/com/jogamp/opengl/test/junit/jogl/acore/TestSharedContextVBOES2AWT3.java b/src/test/com/jogamp/opengl/test/junit/jogl/acore/TestSharedContextVBOES2AWT3.java
index d3b5042fc..6b9169510 100644
--- a/src/test/com/jogamp/opengl/test/junit/jogl/acore/TestSharedContextVBOES2AWT3.java
+++ b/src/test/com/jogamp/opengl/test/junit/jogl/acore/TestSharedContextVBOES2AWT3.java
@@ -88,7 +88,7 @@ public class TestSharedContextVBOES2AWT3 extends UITestCase {
frame.add(glCanvas);
frame.setLocation(x, y);
frame.setSize(width, height);
- frame.setTitle("Shared Gears NEWT Test: "+x+"/"+y+" shared true");
+ frame.setTitle("Shared Gears AWT GLCanvas Test: "+x+"/"+y+" shared true");
return glCanvas;
}
diff --git a/src/test/com/jogamp/opengl/test/junit/jogl/acore/TestSharedContextWithJTabbedPaneAWT.java b/src/test/com/jogamp/opengl/test/junit/jogl/acore/TestSharedContextWithJTabbedPaneAWT.java
index e49f4e27e..71993a023 100644
--- a/src/test/com/jogamp/opengl/test/junit/jogl/acore/TestSharedContextWithJTabbedPaneAWT.java
+++ b/src/test/com/jogamp/opengl/test/junit/jogl/acore/TestSharedContextWithJTabbedPaneAWT.java
@@ -207,6 +207,7 @@ public class TestSharedContextWithJTabbedPaneAWT extends UITestCase {
@Test
public void test01() throws InterruptedException, InvocationTargetException {
final JFrame f = new JFrame();
+ f.setTitle("Shared GLContext AWT GLCanvas JTabbedPane");
final DemoInstance demo = new DemoInstance(f);
SwingUtilities.invokeLater(new Runnable() {
public void run() {