aboutsummaryrefslogtreecommitdiffstats
path: root/src/test
diff options
context:
space:
mode:
authorSven Gothel <[email protected]>2015-03-27 14:25:07 +0100
committerSven Gothel <[email protected]>2015-03-27 14:25:07 +0100
commitd09a50bdc7aca2d441fe7c595711a44fe9dc4a23 (patch)
tree54c676d1dd10c8afdb48018e6d5cdc5b4d24835c /src/test
parent3b7a8f5f4e89adf84fd871c1440859ed3d89802e (diff)
Bug 1116: Oculus SDK 0.4.4: Add extra DK1 detection; Add call to ovr_Shutdown() and ovrHmd_Destroy(hmdDesc).
Add extra DK1 detection - SDK 0.4.4 w/ DK1 (Linux): ovrHmd_Detect() returns zero! - In such case: Try creating one device, which works for DK1 on Linux Add call to ovr_Shutdown() and ovrHmd_Destroy(hmdDesc). - Add StereoDeviceFactory.shutdown() and call ovr_Shutdown() for in OVRStereoDeviceFactory.shutdown(). - Call ovrHmd_Destroy(hmdDesc) in OVRStereoDevice.dispose().
Diffstat (limited to 'src/test')
-rw-r--r--src/test/com/jogamp/opengl/test/junit/jogl/stereo/StereoDemo01.java1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/test/com/jogamp/opengl/test/junit/jogl/stereo/StereoDemo01.java b/src/test/com/jogamp/opengl/test/junit/jogl/stereo/StereoDemo01.java
index 37c7d0e1a..693f2f72b 100644
--- a/src/test/com/jogamp/opengl/test/junit/jogl/stereo/StereoDemo01.java
+++ b/src/test/com/jogamp/opengl/test/junit/jogl/stereo/StereoDemo01.java
@@ -375,5 +375,6 @@ public class StereoDemo01 {
window.destroy();
screen.removeReference(); // StereoDeviceUtil.getMonitorDevice(stereoDevice, true);
stereoDevice.dispose();
+ stereoDeviceFactory.shutdown();
}
}