Commit 7c41df13 by Corentin Wallez

DisplayGLX: fix a SwapControl copy-paste error

BUG=angleproject:1304 Change-Id: If0ec8682b1d519bc6460cd6ed82f42c4c1ceb952 Reviewed-on: https://chromium-review.googlesource.com/324930 Commit-Queue: Corentin Wallez <cwallez@chromium.org> Reviewed-by: 's avatarJamie Madill <jmadill@chromium.org> Tryjob-Request: Jamie Madill <jmadill@chromium.org> Tested-by: 's avatarCorentin Wallez <cwallez@chromium.org>
parent bc69f3be
......@@ -791,7 +791,7 @@ void DisplayGLX::setSwapInterval(glx::Drawable drawable, SwapControlData *data)
{
mGLX.swapIntervalMESA(data->targetSwapInterval);
}
else if (mSwapControl == SwapControl::Mesa)
else if (mSwapControl == SwapControl::SGI)
{
mGLX.swapIntervalSGI(data->targetSwapInterval);
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment