mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-01-06 13:10:10 +01:00
glx: Fix some indentation.
Reviewed-by: Chad Versace <chad.versace@linux.intel.com>
This commit is contained in:
parent
811602885b
commit
f02242a4fa
1 changed files with 5 additions and 5 deletions
|
|
@ -738,13 +738,13 @@ dri2SwapBuffers(__GLXDRIdrawable *pdraw, int64_t target_msc, int64_t divisor,
|
|||
__DRI2_THROTTLE_SWAPBUFFER);
|
||||
} else {
|
||||
#ifdef X_DRI2SwapBuffers
|
||||
if (psc->f) {
|
||||
struct glx_context *gc = __glXGetCurrentContext();
|
||||
if (psc->f) {
|
||||
struct glx_context *gc = __glXGetCurrentContext();
|
||||
|
||||
if (gc) {
|
||||
(*psc->f->flush)(priv->driDrawable);
|
||||
if (gc) {
|
||||
(*psc->f->flush)(priv->driDrawable);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
dri2Throttle(psc, priv, __DRI2_THROTTLE_SWAPBUFFER);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue