Bug 1242 - Fix 'Texture.updateImage(...)' API and Implementation
: Fix 'Texture.updateImage(...)' API and Implementation
: None
: Jogl
: JogAmp
: util (show other bugs)
: 2.5.0
: All all
: --- enhancement
: Sven Gothel
Reported: 2015-10-03 01:14 CEST by Sven Gothel
Modified: 2019-03-30 02:10 CET (History)
1 user (show)

SCM Refs:
Workaround: ---


Note You need to log in before you can comment on or make changes to this bug.
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.