Game Development Community

ALT+TAB during loading images ?

by Arsen Gnatkivskyi · in Torque Game Builder · 08/04/2008 (8:45 am) · 2 replies

Hallo All!
when I pres Alt+Tab in fullscreen mode and if in same time images are loading to datablock - error happens:

ImageMap(particles1ImageMap)SrcBitmap(game/data/images/particles1) Error: 'Reported Maximum Hardware Texture Size is invalid!' (11)
t2dAnimationDatablock::onAdd() - ImageMap Datablock is invalid, cannot create animation! (particles1ImageMap)

How it can be fix ?

#1
08/15/2008 (12:49 pm)
Yes, I had the same problem too.
What I did to fix it is start the game in window mode. in your main.cs add toggleFullScreen(); after the init stage. This should prevent alt-tab while the textures are loading.
Eyal.

ex:

_initializeProject();
initializeProject();
toggleFullScreen();
#2
08/16/2008 (7:37 am)
Thanks