🎉 Celebrating 25 Years of GameDev.net! 🎉

Not many can claim 25 years on the Internet! Join us in celebrating this milestone. Learn more about our history, and thank you for being a part of our community!

tutorial 3 problem? help please!

Started by
0 comments, last by ryerider 23 years, 11 months ago
i''m having a problem with the coloring in tutorial 3 -- i''m using the downloaded code from this site, and -- both the square and the triangle are blue! why is this? is there a problem in the code? there doesn''t seem like there is. help?? thanks! a fellow openGL-er-in-progress
Advertisement
I had a somewhat similar problem. This means that you hardware acceleration doesn''t support that color depth. Instead of using 16 bit, use either 24 bir or 256 color(8 bit). If you donm''t know how to do that, read the tutorials more carefully, and you will find a place where he discusses resolution and color depth. Change the code that follows the discussion(if the is the one that changes the color depth)

I hope i make sense,
poopee

This topic is closed to new replies.

Advertisement