• Advertisement
Sign in to follow this  

Displaying pixels

This topic is 4728 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

I'm trying to display bitmaps to the screen, unfortunately when I do it using glDrawPixels(), sometimes it works, and sometimes it completely crashes my computer. Even without changing any of the code, sometimes it will display to the screen, and other times it crashes. I was wondering what the problem might be. Coule it be that I'm displaying 24 bit information to a 16 bit screen?

Share this post


Link to post
Share on other sites
Advertisement
what do you mean from
Quote:

it completely crashes my computer

do you mean you computer hangs or the image look bad ?

Share this post


Link to post
Share on other sites
I just found out for myself that it was because I was displaying 24-bits on a 16-bit screen.

Share this post


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

  • Advertisement