OSDN Git Service

r300: Fix radeonUpdatePageFlipping() function.
authorRoland Scheidegger <sroland@tungstengraphics.com>
Tue, 27 Mar 2007 14:27:34 +0000 (16:27 +0200)
committerRoland Scheidegger <sroland@tungstengraphics.com>
Tue, 27 Mar 2007 14:27:34 +0000 (16:27 +0200)
commit3b8ab881312f36a948913653ed3c471017f811f0
tree624508408f737fa1b071075368040147f763c11d
parent32225d06b9ade78df612b3fd8c3aff93afa3b7ff
r300: Fix radeonUpdatePageFlipping() function.

Always call driFlipRenderbuffers() with pfCurrentPage value, in case it's
initially 1 instead of 0. May fix some issues with pageflip, the same fix was
applied to r128, radeon and r200 (6e0e6eff05727ac8833c2b2dffc51c6619427e77).
src/mesa/drivers/dri/r300/radeon_lock.c