aboutsummaryrefslogtreecommitdiffstats
path: root/src/jogl/classes/jogamp/opengl/GLContextImpl.java
diff options
context:
space:
mode:
authorSven Gothel <[email protected]>2014-01-24 05:01:40 +0100
committerSven Gothel <[email protected]>2014-01-24 05:01:40 +0100
commitb7f673dad7025400e445e8796305a3ea6b7c1679 (patch)
treeee95d6feb5e0977122d0d261bcae9f5bfb2141a3 /src/jogl/classes/jogamp/opengl/GLContextImpl.java
parent9a642c08f9ee818a89d5eab8ce16ca8e0ee7f9d9 (diff)
Bug 950 - Recognize full FBO capabilities for ES 3.0 - [GLContext|GL].hasFullFBOSupport() == true
OpenGL ES 3.0 supports full framebuffer operations, incl. multiple color-attachments and multisample. Hence [GLContext|GL].hasFullFBOSupport() shall returns true w/ a ES 3.0 context.
Diffstat (limited to 'src/jogl/classes/jogamp/opengl/GLContextImpl.java')
-rw-r--r--src/jogl/classes/jogamp/opengl/GLContextImpl.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/jogl/classes/jogamp/opengl/GLContextImpl.java b/src/jogl/classes/jogamp/opengl/GLContextImpl.java
index ee9f315c8..417dbd011 100644
--- a/src/jogl/classes/jogamp/opengl/GLContextImpl.java
+++ b/src/jogl/classes/jogamp/opengl/GLContextImpl.java
@@ -1916,7 +1916,7 @@ public abstract class GLContextImpl extends GLContext {
private static final boolean hasFBOImpl(int major, int ctp, ExtensionAvailabilityCache extCache) {
return ( 0 != (ctp & CTX_PROFILE_ES) && major >= 2 ) || // ES >= 2.0
- major >= 3 || // any >= 3.0 GL ctx
+ major >= 3 || // any >= 3.0 GL ctx (core, compat and ES)
( null != extCache &&