summaryrefslogtreecommitdiff
path: root/src/gallium/state_trackers/wgl/shared
diff options
context:
space:
mode:
authorKeith Whitwell <keith@tungstengraphics.com>2009-01-28 20:08:07 +0000
committerKeith Whitwell <keith@tungstengraphics.com>2009-01-28 20:08:07 +0000
commit9a58a9d6ca19a2933b9fddfa3c870786f35183b0 (patch)
tree4678deb03e3c20260ed22a1cef940be8e6be1590 /src/gallium/state_trackers/wgl/shared
parent7dbd95618f3e50fe2818d4152527092a96e70474 (diff)
stw: don't call out to wglGetPixelFormat()
Diffstat (limited to 'src/gallium/state_trackers/wgl/shared')
-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 bf1f0f83c4..6a26c163a9 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;