summaryrefslogtreecommitdiff
path: root/src/gallium/state_trackers/wgl/stw_pixelformat.h
diff options
context:
space:
mode:
authorChia-I Wu <olvaffe@gmail.com>2010-03-17 10:11:22 +0800
committerJosé Fonseca <jfonseca@vmware.com>2010-04-12 15:32:20 +0900
commit192f06adca5e79b4824d92dc41186592ed57f71e (patch)
tree59e9281daaac3058ce18e6414d4ffc9695102d71 /src/gallium/state_trackers/wgl/stw_pixelformat.h
parentbddb6c7a383682d0f8f4fadd8cf57472a8c3c8a8 (diff)
st/wgl: Switch from st_public.h to st_api.h. [V2]
This is only compile tested with crossmingw. V2: - reference count stw_framebuffer
Diffstat (limited to 'src/gallium/state_trackers/wgl/stw_pixelformat.h')
-rw-r--r--src/gallium/state_trackers/wgl/stw_pixelformat.h11
1 files changed, 2 insertions, 9 deletions
diff --git a/src/gallium/state_trackers/wgl/stw_pixelformat.h b/src/gallium/state_trackers/wgl/stw_pixelformat.h
index 3a690b35ba..d405172773 100644
--- a/src/gallium/state_trackers/wgl/stw_pixelformat.h
+++ b/src/gallium/state_trackers/wgl/stw_pixelformat.h
@@ -38,16 +38,13 @@
#include "pipe/p_compiler.h"
#include "pipe/p_format.h"
+#include "state_tracker/st_api.h"
struct stw_pixelformat_info
{
- enum pipe_format color_format;
- enum pipe_format depth_stencil_format;
-
PIXELFORMATDESCRIPTOR pfd;
- unsigned numSampleBuffers;
- unsigned numSamples;
+ struct st_visual stvis;
};
void
@@ -62,10 +59,6 @@ stw_pixelformat_get_extended_count( void );
const struct stw_pixelformat_info *
stw_pixelformat_get_info( uint index );
-void
-stw_pixelformat_visual(GLvisual *visual,
- const struct stw_pixelformat_info *pfi );
-
int
stw_pixelformat_choose( HDC hdc,
CONST PIXELFORMATDESCRIPTOR *ppfd );