Skip to content

Commit

Permalink
implicit pointer->bool conversion replaced by comparison with NULL
Browse files Browse the repository at this point in the history
  • Loading branch information
stager13 committed Jun 29, 2015
1 parent b6a3cd5 commit 7e9d486
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ngput/p3dglmemcntx.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -413,7 +413,7 @@ bool P3DGLMemoryContextBitmap::MakeCurrent
bool P3DGLMemoryContextPBuffer::IsSupported
()
{
return(WGLEW_ARB_pbuffer);
return(WGLEW_ARB_pbuffer != NULL);
}

static int PBufferPixelFormatIntAttrsNoAlpha[] =
Expand Down

0 comments on commit 7e9d486

Please sign in to comment.