Talk About Network

Google


Register and Login
Nick
Password
Register create new account Sign up is FREE and you can post replies, new topics, bookmark posts and more!
Recover lost password


Graphics > OpenGL 3D API > ChoosePixelForm...
Latest [ Topics | Posts ] Archive Post A New Topic Post a Reply
<< Topic < Post Post 1 of 1 Topic 4835 of 5041
Post > Topic >>

ChoosePixelFormat returns wrong value

by Richard <RichardVerzijl@[EMAIL PROTECTED] > Jul 14, 2008 at 12:30 AM

Hi,

I have two video cards and the second one gives problems with
ChoosePixelFormat.
When I start my program from the first screen (and first video card)
ChoosePixelFormat returns 7 and SetPixelFormat is OK.
When I start my program from the second screen (and second video card)
ChoosePixelFormat returns 3 and SetPixelFormat throws an error
("Object reference not set to an instance of an object."). When I set
the pixel format value hard coded to 7 SetPixelFormat is OK (and the
rest of the program also) on the second screen.

I use the .NET 1.1 Tao framework on Windows XP SP3.

Does anybody knows what goes wrong?

Richard
 




 1 Posts in Topic:
ChoosePixelFormat returns wrong value
Richard <RichardVerzij  2008-07-14 00:30:21 

Post A Reply:
  Go here to Signup

AddThis Feed Button


About - Advertising - Contact - Frequently Asked Questions - Privacy Policy - Terms of Use - Signup

Contact
tan12V112 Mon Dec 1 23:59:23 CST 2008.