wgl: Call st_swapbuffers instead of st_notify_swapbuffers.
authorJosé Fonseca <jfonseca@vmware.com>
Wed, 2 Dec 2009 17:05:20 +0000 (17:05 +0000)
committerJosé Fonseca <jfonseca@vmware.com>
Wed, 2 Dec 2009 17:05:20 +0000 (17:05 +0000)
commitb2581dcab41c142c38f2e065c4348cb892931c48
tree344a77b746661c6469043b28a1fe65ef30d55cbb
parente84dddde9b6eb7727760814ae211c95218bb28a3
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.
src/gallium/state_trackers/wgl/stw_device.c
src/gallium/state_trackers/wgl/stw_framebuffer.c
src/gallium/state_trackers/wgl/stw_framebuffer.h