summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/gallium/state_trackers/wgl/shared/stw_context.c2
1 files changed, 1 insertions, 1 deletions
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;