summaryrefslogtreecommitdiffstats
path: root/src/demos/dualDepthPeeling
diff options
context:
space:
mode:
authorSven Gothel <[email protected]>2012-02-24 02:58:23 +0100
committerSven Gothel <[email protected]>2012-02-24 02:58:23 +0100
commit067baba5f5c242b754ed3ff26bfd639d86812478 (patch)
tree8bfbd41df8c7066b7347ad65178a861f515d9220 /src/demos/dualDepthPeeling
parent063477d2a3136a3294a6f8917c87fa31f50a5467 (diff)
Adapt to latest JOGL changes (commit: a4c7bf0420e369e71561d2847f2fc444ce5abafa, d97c54896d349e8a22c9cafec75c62476c16fdd1)
Diffstat (limited to 'src/demos/dualDepthPeeling')
-rw-r--r--src/demos/dualDepthPeeling/DualDepthPeeling.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/demos/dualDepthPeeling/DualDepthPeeling.java b/src/demos/dualDepthPeeling/DualDepthPeeling.java
index eccf8ba..f1e841c 100644
--- a/src/demos/dualDepthPeeling/DualDepthPeeling.java
+++ b/src/demos/dualDepthPeeling/DualDepthPeeling.java
@@ -541,7 +541,7 @@ public class DualDepthPeeling implements GLEventListener, KeyListener, MouseList
void InitGL()
{
- GLProfile kProfile = GLProfile.getMaxProgrammable();
+ GLProfile kProfile = GLProfile.getMaxProgrammable(true);
GLCapabilities kGlCapabilities = new GLCapabilities(kProfile);
kGlCapabilities.setHardwareAccelerated(true);
m_kCanvas = new GLCanvas(kGlCapabilities);