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 ?
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 ?
Torque Owner Eyal Erez
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();