[PATCH 1/2] DRI2SwapBuffers: Don't reuse swap_target variable.

2014-04-18 Thread Jamey Sharp
swap_target is an out-parameter that needs to be set to the value that SBC will take on after this SwapBuffers request completes. However, it was also being used as a temporary variable to hold the MSC at which the SwapBuffers request got scheduled to occur. This confusion makes it harder to

Re: [PATCH 1/2] DRI2SwapBuffers: Don't reuse swap_target variable.

2014-04-18 Thread Keith Packard
Jamey Sharp ja...@minilop.net writes: swap_target is an out-parameter that needs to be set to the value that SBC will take on after this SwapBuffers request completes. However, it was also being used as a temporary variable to hold the MSC at which the SwapBuffers request got scheduled to