Ignore:
Timestamp:
Mar 3, 2000, 12:09:21 AM (26 years ago)
Author:
sandervl
Message:

check for null pointer in wglSetPixelFormat

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/opengl/mesa/3dfx/fxwgl.c

    r2938 r2977  
    797797  qt_valid_pix = qt_pix;
    798798
     799#ifdef __WIN32OS2__
     800  if(iPixelFormat < 1 || iPixelFormat > qt_valid_pix || (ppfd && ppfd->nSize != sizeof(PIXELFORMATDESCRIPTOR))) {
     801#else
    799802  if(iPixelFormat < 1 || iPixelFormat > qt_valid_pix || ppfd->nSize != sizeof(PIXELFORMATDESCRIPTOR)) {
     803#endif
    800804    SetLastError(0);
    801805    return(FALSE);
Note: See TracChangeset for help on using the changeset viewer.