diff options
author | Sven Gothel <[email protected]> | 2013-10-29 11:10:58 +0100 |
---|---|---|
committer | Sven Gothel <[email protected]> | 2013-10-29 11:10:58 +0100 |
commit | d83d54f2aaf9b8389a64fba7a8c05c495873d941 (patch) | |
tree | ec9cd517a171018e1242b407b7b429dfad8933eb /src/jogl/classes/javax/media/opengl/GLBase.java | |
parent | 5dffa6a4895a06edc44de6fe335c35af291fbd19 (diff) |
Bug 876: BuildComposablePipeline: getGL*() shall not return downstream.getGL*() [TraceGL* / DebugGL*] ; Simplify GLContextImpl's set Debug/Trace Pipeline
Regression of commit 0002fccdcd6383874b2813dc6bbe3e33f5f00924:
"Trace/Debug shall utilize downstream identification for isGL*() and getGL*() methods."
Using the downstream identification commit is right for the isGL*() case,
however, getGL*() returned the downstream object which makes the caller loosing the pipeline!
Instead, we shall produce !GEN_GL_IDENTITY_BY_ASSIGNABLE_CLASS:
"if( isGL<type>() ) { return this; }
throw new GLException("Not a <type> implementation");"
or for GEN_GL_IDENTITY_BY_ASSIGNABLE_CLASS:
"return this;"
Diffstat (limited to 'src/jogl/classes/javax/media/opengl/GLBase.java')
0 files changed, 0 insertions, 0 deletions