eugene
03-25-2002, 03:06 PM
Hi,
I ported an OpenGL from Windows 98 to UNIX. Everything compiles, and runs. However, I noticed the display setting are different.
I was using 8/8/8 for RGB and 16 for depth per pixel on Window 98.
But on UNIX, when I run glGetIntegerv() to query the info, I got 5/5/5 for RGB and 0 for the depth buffer.
What's wrong? Can I change them to 8/8/8 and 16 in either UNIX or OpengGL?
Thanks.
I ported an OpenGL from Windows 98 to UNIX. Everything compiles, and runs. However, I noticed the display setting are different.
I was using 8/8/8 for RGB and 16 for depth per pixel on Window 98.
But on UNIX, when I run glGetIntegerv() to query the info, I got 5/5/5 for RGB and 0 for the depth buffer.
What's wrong? Can I change them to 8/8/8 and 16 in either UNIX or OpengGL?
Thanks.