From: Keith Whitwell Date: Wed, 28 Jan 2009 20:08:07 +0000 (+0000) Subject: stw: don't call out to wglGetPixelFormat() X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=9a58a9d6ca19a2933b9fddfa3c870786f35183b0;p=mesa.git stw: don't call out to wglGetPixelFormat() --- diff --git a/src/gallium/state_trackers/wgl/shared/stw_context.c b/src/gallium/state_trackers/wgl/shared/stw_context.c index bf1f0f83c48..6a26c163a97 100644 --- a/src/gallium/state_trackers/wgl/shared/stw_context.c +++ b/src/gallium/state_trackers/wgl/shared/stw_context.c @@ -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;