PDA

View Full Version : converting glut code to plain windows ogl code



TheLastMohican
03-10-2003, 09:41 AM
hi, my problem is, when i port my graphic demo from glut to plain windows opengl code (i use the nehe basecode)
then blending doesn't look nicely anymore, the code is exactly the same but is doesn't look the same. please help!

shinpaughp
03-10-2003, 09:50 AM
How do you have your PIXELFORMATDESCRIPTOR set up? Could be the values you are passing are different from what glut automatically sets. Could also be that glut enables certain parameters. Otherwise, I dunno, but it has to be something you aren't setting up as glut does.