diff options
author | José Fonseca <jfonseca@vmware.com> | 2009-12-02 17:05:20 +0000 |
---|---|---|
committer | José Fonseca <jfonseca@vmware.com> | 2009-12-02 17:05:20 +0000 |
commit | b2581dcab41c142c38f2e065c4348cb892931c48 (patch) | |
tree | 344a77b746661c6469043b28a1fe65ef30d55cbb /src/gallium/state_trackers/wgl/stw_framebuffer.h | |
parent | e84dddde9b6eb7727760814ae211c95218bb28a3 (diff) |
wgl: Call st_swapbuffers instead of st_notify_swapbuffers.
This will get single buffer, double buffer, and
joint single/double buffer (typical in CAD applications) done right,
at least as far as the frambuffer is concerned.
There are still problems with multiple contexts using the same
framebuffer because st_framebuffer_* calls assume the framebuffer
is bound to a single context.
Diffstat (limited to 'src/gallium/state_trackers/wgl/stw_framebuffer.h')
-rw-r--r-- | src/gallium/state_trackers/wgl/stw_framebuffer.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/gallium/state_trackers/wgl/stw_framebuffer.h b/src/gallium/state_trackers/wgl/stw_framebuffer.h index 5afbe74908..b80d168a7c 100644 --- a/src/gallium/state_trackers/wgl/stw_framebuffer.h +++ b/src/gallium/state_trackers/wgl/stw_framebuffer.h @@ -34,6 +34,7 @@ #include "pipe/p_thread.h" +struct pipe_surface; struct stw_pixelformat_info; /** @@ -140,7 +141,7 @@ stw_framebuffer_allocate( BOOL stw_framebuffer_present_locked(HDC hdc, struct stw_framebuffer *fb, - unsigned surface_index); + struct pipe_surface *surface); void stw_framebuffer_update( |