Re: [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:44:40
|
Just for the record, it looks like texture code has been redesigned, so th= e=20 stuff I did are all messed up. Please, don't use the OpenGL option in the menu. Ricardo Cruz Em Ter=E7a, 13 de Abril de 2004 12:15, o Ricardo Cruz escreveu: > 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 > 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 Entropy isn't what it used to be. |