diff options
author | Mike Klein <mtklein@chromium.org> | 2016-09-26 13:02:35 -0400 |
---|---|---|
committer | Skia Commit-Bot <skia-commit-bot@chromium.org> | 2016-09-26 17:43:10 +0000 |
commit | 19eb8435cbce1200667024079750c6494b02079f (patch) | |
tree | bb6f3dfbe25ac6de44d6db352704a5b1a1bf8dd5 /tools/gpu/gl/glx/CreatePlatformGLTestContext_glx.cpp | |
parent | e1a5f4e292384046678edc5c1e360b3e13dc118c (diff) |
-Wcomma may be good to go now.
This cleans up 3 remaining sites using , that probably meant ;
BUG=skia:
GOLD_TRYBOT_URL= https://gold.skia.org/search?issue=2605
Change-Id: I5e48bcd85d72a205d2b0c860461dab1ec793dd18
Reviewed-on: https://skia-review.googlesource.com/2605
Reviewed-by: Brian Salomon <bsalomon@google.com>
Commit-Queue: Mike Klein <mtklein@chromium.org>
Diffstat (limited to 'tools/gpu/gl/glx/CreatePlatformGLTestContext_glx.cpp')
-rw-r--r-- | tools/gpu/gl/glx/CreatePlatformGLTestContext_glx.cpp | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/tools/gpu/gl/glx/CreatePlatformGLTestContext_glx.cpp b/tools/gpu/gl/glx/CreatePlatformGLTestContext_glx.cpp index 1da245d87c..9cff0b7357 100644 --- a/tools/gpu/gl/glx/CreatePlatformGLTestContext_glx.cpp +++ b/tools/gpu/gl/glx/CreatePlatformGLTestContext_glx.cpp @@ -149,8 +149,10 @@ GLXGLTestContext::GLXGLTestContext(GrGLStandard forcedGpuAPI, GLXGLTestContext* // " SAMPLES = %d\n", // i, (unsigned int)vi->visualid, samp_buf, samples); - if (best_fbc < 0 || (samp_buf && samples > best_num_samp)) - best_fbc = i, best_num_samp = samples; + if (best_fbc < 0 || (samp_buf && samples > best_num_samp)) { + best_fbc = i; + best_num_samp = samples; + } } XFree(vi); } |