unable to create graphics mode?
Blitz3D Forums/Blitz3D Beginners Area/unable to create graphics mode?
| ||
Hi all, When ever I try to run my program without debug enabled I get this error, any ideas why? OneHitWonder |
| ||
What are you trying to set your graphics mode to? A little more information is necessary. |
| ||
I have just changed my graphics windows size from [800, 600] to [640, 480] did I get the error because my computer did not support that size? OneHitWonder. |
| ||
I would seriously doubt it... Are you loading any textures? If so, comment them out and see what happens. I've seen some strange errors in different OS's whereby, if you didn't set the flags you want to load textures/sprites with, it would trigger a strange error. |
| ||
I have just changed my graphics windows size from [800, 600] to [640, 480] did I get the error because my computer did not support that size? Which of those sizes is giving the error?I've yet to see any hardware that doesn't support 800x600 at all. 640x480... maybe. 800x600 is the de facto standard for the default resolution in casual games so there might be problems on the horizon if hardware is appearing that doesn't support it. |
| ||
It works fine with 640X480, I was only loading the built in cube, just didn't work with 800X600. OneHitWonder |
| ||
Are you using a netbook or something that only supports stupid resolutions? |
| ||
When you omit the 'windowmode' parameter, with debug enabled, windowed mode is chosen. Without debug, it tries to run fullscreen. I think 640x480 fullscreen is somehow not supported. Use the GFXModeExists command to determine which modes your card can handle. |
| ||
@Warner 640x480 works it's 800x600 that I have a problem with. @GfK No, it was tested on a "work" computer, works on my home computer though. OneHitWonder. |
| ||
Still, use GFXModeExists to determine what modes your graphic card supports:Print "scanning.." For i = 0 To 4096 For j = 0 To 4096 For bt = 0 To 32 Step 8 If GfxModeExists(i, j, bt) Then Print "supported: " + i + "x" + j + "x" + bt Next Next Next Print "done. press any key.." WaitKey End |
| ||
@Warner Thanks alot. OneHitWonder |
| ||
Are you using a netbook or something that only supports stupid resolutions? I love it! For some reason that question made me laugh. |