diff options
author | Keith Whitwell <keith@tungstengraphics.com> | 2009-01-28 17:07:15 +0000 |
---|---|---|
committer | Keith Whitwell <keith@tungstengraphics.com> | 2009-01-28 17:07:49 +0000 |
commit | 66059cd3c95bf5eba7922a4a09c2596514e5e956 (patch) | |
tree | fc7fa8d301820f70ab0a2db18a88669df24abea4 /src/gallium/state_trackers/wgl/shared/stw_pixelformat.c | |
parent | 54688ebdb259c5e8878817a411e24bd98efb8012 (diff) |
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.c | 18 |
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 76fe7cb9fe..4ba763d933 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; +} + |