PDA

View Full Version : Changing videomodes...



doggo18
30-05-2003, 08:26 PM
When changing videomodes, you call DoneDevice, and you set the right properties followed by InitDevice again. But I noticed that loading data from a VTDb is dependant on the device already being initialized; so if I would reinitialize the device, will I have to reinitialize all the different Imagelists and fonts?

While I am speaking about it; when DeviceLost triggers, will DoneDevice automatically trigger as well? Or would I manually have to unload different data's?

Thanks for the time you are taking to answer all of this :)

LP
04-06-2003, 09:15 PM
When you change your video mode, you usually change the texture format of graphics to fit that mode. Anyway, you finalize PowerDraw with DoneDevice, but before that you need to finalize all fonts and graphics.
When you initialize PowerDraw again, you have to reload all graphics. Hopefully, this won't be necessary in the new component pack we're working on :wink: