[SDL] SetVideoMode and Texture memory destroy

Bruce @ OpenGL bruce at opengl.com.br
Thu Jan 29 06:42:01 PST 2004


Hi again fellows,

I'm bothering you a lot this week with lots of question huhn ? =)

My app has a button to toggle to fullscreen. But in Windows we can't use SDL
call to Toggle to Fullscreen so what I do is to call SetVideoMode again
passing the appropriate flag.

But when I call SetVideoMode again, it destroys all my textures created with
OpenGL commands. It is like if it destroys my Texture Memory...

Anyone knows anything about it ?

[]s

Bruce Christopher Barrera
------------------
Moderador da lista de discussão OpenGL_Brasil
http://br.groups.yahoo.com/group/opengl_brasil/
Moderador da seção OpenGL do Fórum do PDJ Brasil
http://www.pdj.com.br/forum

"Existem 10 tipos de pessoas. As que entendem binario e as que nao
entendem..."





More information about the SDL mailing list