[Super-tux-devel] Re: [Super-tux-commit] supertux/src setup.cpp,1.32,1.33 texture.cpp,1.9,1.10
Brought to you by:
wkendrick
From: Ricardo C. <ri...@ae...> - 2004-04-13 11:23:43
|
But why have gl_textures the need to be reseted? They are not freed in the 1st place and no, I don't turn them back to=20 NO_TEXTURE. Ricardo Cruz Em Ter=E7a, 13 de Abril de 2004 03:45, o Ingo Ruhnke escreveu: > Ricardo Cruz <rm...@us...> writes: > > A first attempt to make a simple and clean way of an on the fly > > videomode change. But there is this problem: it seems to work on the > > first transition from SDL to OpenGL, but doesn't work well in the > > following transitions to OpenGL. > > The problem is that once you switched to OpenGL all texture_types will > be converted to OpenGL textures, but when you switch back, you will > lose them while not resetting the gl_texture id's back to NO_TEXTURE, > so they won't be loaded again. =2D-=20 Ambition, n: An overmastering desire to be vilified by enemies while living and made ridiculous by friends when dead. -- Ambrose Bierce |