Jump to content
  • Advertisement
Sign in to follow this  
StormRider

OpenGL Texture becomes desktop texture

This topic is 5080 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

Hi, I'm currently working in mac os x an I'm having this problem. I have a 3d window in my app that is variable in size. On older systems (G4), when the size of the window is about 1280, the texture suddenly becomes a distorted version of my current desktop. I figured out this is because of the video memory which is full. Problem is that OpenGl doesn't give me any warning at all that allows me to catch this error. If I put my depth buffer at 16bit, I can expand the window a bit more, but not that much. This is all in software rendering since accelerated rendering doesn't seem to be supported on these machines. Can anybody help out with this one?

Share this post


Link to post
Share on other sites
Advertisement
Guest Anonymous Poster
I presume you are using GLUT (and not AGL or CocoaGL).

You'll only fall back on the software renderer if you request features that aren't supported by the computer's graphics card (and all G4's have supported graphics cards)

You could try re uploading all of your textures using the proxy texture type in order to see if there is enough space for all of them and shrink the window again if there isn't.

After that I'm pretty sure you'll need to upload the actual data again anyway.

Share this post


Link to post
Share on other sites
Sign in to follow this  

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

We are the game development community.

Whether you are an indie, hobbyist, AAA developer, or just trying to learn, GameDev.net is the place for you to learn, share, and connect with the games industry. Learn more About Us or sign up!

Sign me up!