stw: don't call out to wglGetPixelFormat()
authorKeith Whitwell <keith@tungstengraphics.com>
Wed, 28 Jan 2009 20:08:07 +0000 (20:08 +0000)
committerKeith Whitwell <keith@tungstengraphics.com>
Wed, 28 Jan 2009 20:08:07 +0000 (20:08 +0000)
src/gallium/state_trackers/wgl/shared/stw_context.c

index bf1f0f83c4847d1b50cbad0ef9f9b2c774a323d6..6a26c163a9778990131dc2ea7ab8241bc51e869c 100644 (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;