Making it happen
wglChoosePixelFormatARB fails on nVidia
Ok so I got over this strange bug, while creating a pbuffer it appears that wglChoosePixelFormatARB from Forceware drivers does not like some DCs, even if the DC passed there should be useless. It simply fails with GetLastError 0xc0070591. 0×591 appears to be ERROR_DC_NOT_FOUND.
So beware what DC you send, I finally sent one that has a OpenGL RC associated and it worked fine.
| Print article | This entry was posted by andrei on May 9, 2007 at 8:14 am, and is filed under Uncategorized. Follow any responses to this post through RSS 2.0. You can leave a response or trackback from your own site. |

about 4 years ago
oke bud what could I do to solve this problem?
about 4 years ago
Well simply send a DC that already has OpenGL initialized on it.
about 3 years ago
helpme how to open that