I don't have a windowed or a minimized mode coded yet. the error is a
DirectX error because it suddenly loses the surface it's trying to draw to.

NoteMe, i have a 3rd party program that can take Quake1 .Map files and
extract the points of the pollygons. i then wrote a loader for that output file,
added some texture scripting for water animation, ect...

So i build my maps with QuArK1.06 (Quake Army Knife) then manualy build the
texture scripts and cpy over the textures needed into the proper directories.

It doesn't show it, but i also have model loading and model animation working
to a decent extent.