summaryrefslogtreecommitdiff
path: root/src/gallium/state_trackers/wgl/shared/stw_pixelformat.h
diff options
context:
space:
mode:
authorKeith Whitwell <keith@tungstengraphics.com>2009-01-28 13:35:18 +0000
committerKeith Whitwell <keith@tungstengraphics.com>2009-01-28 13:35:49 +0000
commitcb70d27dd1b04ae7dc146d06a21fb32004265539 (patch)
treea9b134e5af5bbecd9a7c867a3ac9be55332ea865 /src/gallium/state_trackers/wgl/shared/stw_pixelformat.h
parentf17eb0b13c6a2e70746edd1d882bf71adec129fb (diff)
stw: move pixelformat_describe to shared
Diffstat (limited to 'src/gallium/state_trackers/wgl/shared/stw_pixelformat.h')
-rw-r--r--src/gallium/state_trackers/wgl/shared/stw_pixelformat.h11
1 files changed, 11 insertions, 0 deletions
diff --git a/src/gallium/state_trackers/wgl/shared/stw_pixelformat.h b/src/gallium/state_trackers/wgl/shared/stw_pixelformat.h
index 0b67da8d25..da26df5c64 100644
--- a/src/gallium/state_trackers/wgl/shared/stw_pixelformat.h
+++ b/src/gallium/state_trackers/wgl/shared/stw_pixelformat.h
@@ -28,6 +28,8 @@
#ifndef PIXELFORMAT_H
#define PIXELFORMAT_H
+#include <windows.h>
+
#define PF_FLAG_DOUBLEBUFFER 0x00000001
#define PF_FLAG_MULTISAMPLED 0x00000002
@@ -73,4 +75,13 @@ pixelformat_get_extended_count( void );
const struct pixelformat_info *
pixelformat_get_info( uint index );
+
+int
+stw_pixelformat_describe(
+ HDC hdc,
+ int iPixelFormat,
+ UINT nBytes,
+ LPPIXELFORMATDESCRIPTOR ppfd );
+
+
#endif /* PIXELFORMAT_H */