#78 wglChoosePixelFormat terminates (error) on failure

closed-fixed
5
2006-04-28
2005-04-13
No

but some applications, e.g. recent Java3D, try this as a
probe and wish to continue. Consequently I have
downgraded it to a warning on my system...

int WINAPI wglChoosePixelFormat_prox( HDC hdc,
CONST PIXELFORMATDESCRIPTOR *pfd )
{
...

if ( pfd->dwFlags & ~okayFlags ) {
crWarning
( "wglChoosePixelFormat: only support flags=0x%x, but
you gave me flags=0x%x", okayFlags, pfd->dwFlags );
// just a probe?!
return 0;
}
..

Discussion

  • Brian Paul

    Brian Paul - 2006-04-28
    • status: open --> closed-fixed
     
  • Brian Paul

    Brian Paul - 2006-04-28

    Logged In: YES
    user_id=983

    fixed in CVS.

     

Log in to post a comment.

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:

JavaScript is required for this form.





No, thanks