View Full Version : White screen problem
Iceman
2005.03.30, 09:59 PM
For some people that play my game their screen goes white when they use a really large screen size. This is because they don't have enough texture memory I assume. I set up the game with a normal window and pixel format and stuff in Cocoa. Then I create a borderless window for fullscreen thus I don't have to load in a new pixel format. Is there a way to test if the screen goes white without loading in a new pixel format?
kodex
2005.03.30, 10:04 PM
Are you asking for a way to do error checking to test if your texture memory is full?
OneSadCookie
2005.03.30, 10:17 PM
There is a maximum size for an OpenGL context which is card-dependent. I'd guess you're hitting that limit...
arekkusu
2005.03.31, 01:39 AM
Are you capturing the display?
Iceman
2005.03.31, 04:28 PM
Are you capturing the display?
Yes. Would you like me to post some code? Can I check to see if the context is full?
[update]
I just tried it with the nehe code and I get this error "invalid memory allocation"
OneSadCookie
2005.03.31, 04:50 PM
the full-screen code in the Cocoa ports of NeHe is rubbish. Avoid it at all costs.
Iceman
2005.04.01, 12:05 AM
Well I know in GLUT it won't switch to the 1024x768 screen size (it runs at 800x600 instead) because of the context thing I guess. I know in Oni it also wouldn't allow you to switch to the 1024x768 screen size. Is there something these people are using that I'm overlooking?
OneSadCookie
2005.04.01, 01:41 AM
how do we know what you're missing, when we don't know what you're doing :p
vBulletin® v3.6.8, Copyright ©2000-2008, Jelsoft Enterprises Ltd.