summaryrefslogtreecommitdiffstats
path: root/src/gallium/state_trackers/wgl/shared/stw_pixelformat.c
diff options
context:
space:
mode:
authorKeith Whitwell <keith@tungstengraphics.com>2009-01-28 17:07:15 +0000
committerKeith Whitwell <keith@tungstengraphics.com>2009-01-28 17:07:49 +0000
commit66059cd3c95bf5eba7922a4a09c2596514e5e956 (patch)
treefc7fa8d301820f70ab0a2db18a88669df24abea4 /src/gallium/state_trackers/wgl/shared/stw_pixelformat.c
parent54688ebdb259c5e8878817a411e24bd98efb8012 (diff)
downloadexternal_mesa3d-66059cd3c95bf5eba7922a4a09c2596514e5e956.zip
external_mesa3d-66059cd3c95bf5eba7922a4a09c2596514e5e956.tar.gz
external_mesa3d-66059cd3c95bf5eba7922a4a09c2596514e5e956.tar.bz2
stw: move get_proc_address and extension functions to shared
Diffstat (limited to 'src/gallium/state_trackers/wgl/shared/stw_pixelformat.c')
-rw-r--r--src/gallium/state_trackers/wgl/shared/stw_pixelformat.c18
1 files changed, 18 insertions, 0 deletions
diff --git a/src/gallium/state_trackers/wgl/shared/stw_pixelformat.c b/src/gallium/state_trackers/wgl/shared/stw_pixelformat.c
index 76fe7cb..4ba763d 100644
--- a/src/gallium/state_trackers/wgl/shared/stw_pixelformat.c
+++ b/src/gallium/state_trackers/wgl/shared/stw_pixelformat.c
@@ -205,3 +205,21 @@ stw_pixelformat_set(
currentpixelformat = iPixelFormat;
return TRUE;
}
+
+
+
+/* XXX: this needs to be turned into queries on pipe_screen or
+ * stw_winsys.
+ */
+int
+stw_query_sample_buffers( void )
+{
+ return 1;
+}
+
+int
+stw_query_samples( void )
+{
+ return 4;
+}
+