Horde3D
http://horde3d.org/forums/

createTexture2D() does not set resource as loaded.
http://horde3d.org/forums/viewtopic.php?f=3&t=564
Page 1 of 1

Author:  Dark_Kilauea [ 22.11.2008, 08:56 ]
Post subject:  createTexture2D() does not set resource as loaded.

The documentation says this function should create a texture with the specified dimensions and declare the resource as loaded, but the library does not declare the resource as loaded, making updateResourceData( ... ) unusable without first loading the created texture with a valid texture file.

Either the documentation should be changed to reflect what this function really does, or the function should be changed to mark the resource as loaded, thus allowing use of updateResourceData( ... ).

Author:  marciano [ 22.11.2008, 15:43 ]
Post subject:  Re: createTexture2D() does not set resource as loaded.

Currently only renderable textures are marked as loaded. But I think it makes really sense to do the same for non-renderable textures. Thanks for the hint!

Author:  Volker [ 06.12.2008, 22:12 ]
Post subject:  Re: createTexture2D() does not set resource as loaded.

Changed it in the SVN.

Page 1 of 1 All times are UTC + 1 hour
Powered by phpBB® Forum Software © phpBB Group
https://www.phpbb.com/