From 9a58a9d6ca19a2933b9fddfa3c870786f35183b0 Mon Sep 17 00:00:00 2001 From: Keith Whitwell Date: Wed, 28 Jan 2009 20:08:07 +0000 Subject: [PATCH] stw: don't call out to wglGetPixelFormat() --- src/gallium/state_trackers/wgl/shared/stw_context.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; -- 2.30.2