stw: don't call out to wglGetPixelFormat()

This commit is contained in:
Keith Whitwell 2009-01-28 20:08:07 +00:00
parent 7dbd95618f
commit 9a58a9d6ca

View file

@ -72,7 +72,7 @@ stw_create_context(
if (iLayerPlane != 0)
return NULL;
pfi = wglGetPixelFormat( hdc );
pfi = stw_pixelformat_get( hdc );
if (pfi == 0)
return NULL;