Windowed to FullScreen without losing resources

Blitz3D Forums/Blitz3D Programming/Windowed to FullScreen without losing resources

Pinete(Posted 2007) [#1]
Hi all,
I would like to know if there exist some way to change from
windowed to full screen and viceversa during the game execution without losing the graphics resources (textures and so..)
It would serves too some trick way to do it.
Someone could point me in the right direction or give some link?

Thanks in advance!

Best regards,


b32(Posted 2007) [#2]
Hopefully you are asking this before starting your project .. Because the only way I know, is to make a function that loads all resources. After you change mode, reload them again.


@rtur(Posted 2007) [#3]
I'll pay $50 for dll (with source) that will quickly change dysplay mode fullscreen<=>windowed without manual resources unload/load and save/restore game settings.

Something like this:
ChangeScreenMode(mode%), where mode=1 for fullscreen, 2 for windowed mode.

I know this can be done by RESETing directx device, but I haven't got time for research, at this time.
And I don't know what will be with textures loaded with(256 flag)...


Pinete(Posted 2007) [#4]
yes, I would pay too... :/


jfk EO-11110(Posted 2007) [#5]
This was discussed a few days ago. Cannot find the topic right now. I think I remember somebody (Kev?) said this feature is now part of the WinBlitz3D GUI lib.


Pinete(Posted 2007) [#6]
Hi jfk!,
Thanks for point me that, I'll try to look for that post and let you know...
;)

All the best!