Bug 1242

Summary: Fix 'Texture.updateImage(...)' API and Implementation
Product: [JogAmp] Jogl Reporter: Sven Gothel <sgothel>
Component: utilAssignee: Sven Gothel <sgothel>
Status: CONFIRMED ---    
Severity: enhancement CC: gouessej
Priority: ---    
Version: 2.5.0   
Hardware: All   
OS: all   
Workaround: ---

Description Sven Gothel 2015-10-03 01:14:36 CEST
Method 'Texture.updateImage(final GL gl, final TextureData data, final int targetOverride)'
needs an overhaul, i.e. its API and implementation.

Especially the semantics of argument 'targetOverride' 
which currently is quite ambiguous (implementation).

Further this method ignores the current setting of texture target
and w/ 'targetOverride' its implementation seems quite adventurous.