Hi,
Here is my texture loading method:
private static Texture setTexture( String path ){
Texture texture=GLImageLoader.loadOpenGLTexture(path);
if ( texture!=null ){
texture.enable();
texture.bind();
}
return texture;
}
It seems that if I load a texture from a thread that has a GLCanvas then load it again from another thread that has also a GLCanvas, the texturing doesn’t work. Can you do something for me ? - my idea would be to assign a context id to each texture to avoid reloading only if name and context are the same -
[ I need this capability because I have a main window containing the game and sub windows for configurations that need some preview… ]
Cheers,
Bernard.