* Creates a new texture from the given {@link TextureData}. The\r
* texture is managed and the TextureData instance is invoked\r
* in case of a context loss to recreate the texture. The texture wrap for u and v is set to GL_CLAMP_TO_EDGE by default.\r
- * The texture is not managed and has to be reloaded manually on a context loss.\r
+ * The texture is managed.\r
* @param data the TextureData\r
*/\r
public Texture(TextureData data) {\r
setFilter(minFilter, magFilter);\r
setWrap(uWrap, vWrap);\r
textureData.load(); \r
+ managedTextures.add(this);\r
}\r
\r
private void reload() {\r