summaryrefslogtreecommitdiff
path: root/src/gallium/state_trackers/wgl/icd
diff options
context:
space:
mode:
authorKeith Whitwell <keith@tungstengraphics.com>2009-01-28 13:43:10 +0000
committerKeith Whitwell <keith@tungstengraphics.com>2009-01-28 13:43:10 +0000
commitc3d744f5bbdc24792183a9ee162ebc6cb5f8d1f6 (patch)
treeef61a75a12fc30eaf88a2beafccf11591aba43ea /src/gallium/state_trackers/wgl/icd
parentcb70d27dd1b04ae7dc146d06a21fb32004265539 (diff)
stw: move pixelformat_get/set to shared
Diffstat (limited to 'src/gallium/state_trackers/wgl/icd')
-rw-r--r--src/gallium/state_trackers/wgl/icd/stw_icd.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/src/gallium/state_trackers/wgl/icd/stw_icd.c b/src/gallium/state_trackers/wgl/icd/stw_icd.c
index 5504ac19b1..0c1cfade78 100644
--- a/src/gallium/state_trackers/wgl/icd/stw_icd.c
+++ b/src/gallium/state_trackers/wgl/icd/stw_icd.c
@@ -594,12 +594,9 @@ DrvSetPixelFormat(
HDC hdc,
LONG iPixelFormat )
{
- PIXELFORMATDESCRIPTOR pfd;
BOOL r;
- stw_pixelformat_describe( hdc, iPixelFormat, sizeof( pfd ), &pfd );
-
- r = wglSetPixelFormat( hdc, iPixelFormat, &pfd );
+ r = stw_pixelformat_set( hdc, iPixelFormat );
debug_printf( "%s( 0x%p, %d ) = %s\n", __FUNCTION__, hdc, iPixelFormat, r ? "TRUE" : "FALSE" );