Skip to content

Commit 6117d79

Browse files
committed
Fix extra ; warning
Change-Id: I83999c0e99608d763e180b7f4287bc19a7e1d430 Reviewed-by: Edward Welbourne <[email protected]>
1 parent 076019b commit 6117d79

File tree

1 file changed

+57
-57
lines changed

1 file changed

+57
-57
lines changed

src/plugins/platforms/webgl/qwebglcontext.cpp

Lines changed: 57 additions & 57 deletions
Original file line numberDiff line numberDiff line change
@@ -487,9 +487,9 @@ QWEBGL_FUNCTION(activeTexture, void, glActiveTexture,
487487
}
488488

489489
QWEBGL_FUNCTION_POSTEVENT(attachShader, glAttachShader,
490-
(GLuint) program, (GLuint) shader);
490+
(GLuint) program, (GLuint) shader)
491491
QWEBGL_FUNCTION_POSTEVENT(bindAttribLocation, glBindAttribLocation,
492-
(GLuint) program, (GLuint) index, (const GLchar *) name);
492+
(GLuint) program, (GLuint) index, (const GLchar *) name)
493493

494494
QWEBGL_FUNCTION(bindBuffer, void, glBindBuffer,
495495
(GLenum) target, (GLuint) buffer)
@@ -510,7 +510,7 @@ QWEBGL_FUNCTION(bindFramebuffer, void, glBindFramebuffer,
510510
}
511511

512512
QWEBGL_FUNCTION_POSTEVENT(bindRenderbuffer, glBindRenderbuffer,
513-
(GLenum) target, (GLuint) renderbuffer);
513+
(GLenum) target, (GLuint) renderbuffer)
514514

515515
QWEBGL_FUNCTION(bindTexture, void, glBindTexture,
516516
(GLenum) target, (GLuint) texture)
@@ -521,20 +521,20 @@ QWEBGL_FUNCTION(bindTexture, void, glBindTexture,
521521
}
522522

523523
QWEBGL_FUNCTION_POSTEVENT(blendColor, glBlendColor,
524-
(GLfloat) red, (GLfloat) green, (GLfloat) blue, (GLfloat) alpha);
524+
(GLfloat) red, (GLfloat) green, (GLfloat) blue, (GLfloat) alpha)
525525

526526
QWEBGL_FUNCTION_POSTEVENT(blendEquation, glBlendEquation,
527-
(GLenum) mode);
527+
(GLenum) mode)
528528

529529
QWEBGL_FUNCTION_POSTEVENT(blendEquationSeparate, glBlendEquationSeparate,
530-
(GLenum) modeRGB, (GLenum) modeAlpha);
530+
(GLenum) modeRGB, (GLenum) modeAlpha)
531531

532532
QWEBGL_FUNCTION_POSTEVENT(blendFunc, glBlendFunc,
533-
(GLenum) sfactor, (GLenum) dfactor);
533+
(GLenum) sfactor, (GLenum) dfactor)
534534

535535
QWEBGL_FUNCTION_POSTEVENT(blendFuncSeparate, glBlendFuncSeparate,
536536
(GLenum) sfactorRGB, (GLenum) dfactorRGB,
537-
(GLenum) sfactorAlpha, (GLenum) dfactorAlpha);
537+
(GLenum) sfactorAlpha, (GLenum) dfactorAlpha)
538538

539539
QWEBGL_FUNCTION(bufferData, void, glBufferData,
540540
(GLenum) target, (GLsizeiptr) size, (const void *) data, (GLenum) usage)
@@ -555,21 +555,21 @@ QWEBGL_FUNCTION(checkFramebufferStatus, GLenum, glCheckFramebufferStatus,
555555
return postEventAndQuery<&checkFramebufferStatus>(0u, target);
556556
}
557557

558-
QWEBGL_FUNCTION_POSTEVENT(clear, glClear, (GLbitfield) mask);
558+
QWEBGL_FUNCTION_POSTEVENT(clear, glClear, (GLbitfield) mask)
559559

560560
QWEBGL_FUNCTION_POSTEVENT(clearColor, glClearColor,
561-
(GLfloat) red, (GLfloat) green, (GLfloat) blue, (GLfloat) alpha);
561+
(GLfloat) red, (GLfloat) green, (GLfloat) blue, (GLfloat) alpha)
562562

563563
QWEBGL_FUNCTION_POSTEVENT(clearDepthf, glClearDepthf,
564-
(GLfloat) d);
564+
(GLfloat) d)
565565

566566
QWEBGL_FUNCTION_POSTEVENT(clearStencil, glClearStencil,
567-
(GLint) s);
567+
(GLint) s)
568568

569569
QWEBGL_FUNCTION_POSTEVENT(colorMask, glColorMask,
570-
(GLboolean) red, (GLboolean) green, (GLboolean) blue, (GLboolean) alpha);
570+
(GLboolean) red, (GLboolean) green, (GLboolean) blue, (GLboolean) alpha)
571571

572-
QWEBGL_FUNCTION_POSTEVENT(compileShader, glCompileShader, (GLuint) shader);
572+
QWEBGL_FUNCTION_POSTEVENT(compileShader, glCompileShader, (GLuint) shader)
573573

574574
QWEBGL_FUNCTION(compressedTexImage2D, void, glCompressedTexImage2D,
575575
(GLenum) target, (GLint) level, (GLenum) internalformat,
@@ -588,11 +588,11 @@ QWEBGL_FUNCTION(compressedTexSubImage2D, void, glCompressedTexSubImage2D,
588588

589589
QWEBGL_FUNCTION_POSTEVENT(copyTexImage2D, glCopyTexImage2D,
590590
(GLenum) target, (GLint) level, (GLenum) internalformat,
591-
(GLint) x, (GLint) y, (GLsizei) width, (GLsizei) height, (GLint) border);
591+
(GLint) x, (GLint) y, (GLsizei) width, (GLsizei) height, (GLint) border)
592592

593593
QWEBGL_FUNCTION_POSTEVENT(copyTexSubImage2D, glCopyTexSubImage2D,
594594
(GLenum) target, (GLint) level, (GLint) xoffset, (GLint) yoffset,
595-
(GLint) x, (GLint) y, (GLsizei) width, (GLsizei) height);
595+
(GLint) x, (GLint) y, (GLsizei) width, (GLsizei) height)
596596

597597
QWEBGL_FUNCTION_NO_PARAMS(createProgram, GLuint, glCreateProgram)
598598
{
@@ -606,7 +606,7 @@ QWEBGL_FUNCTION(createShader, GLuint, glCreateShader,
606606
}
607607

608608
QWEBGL_FUNCTION_POSTEVENT(cullFace, glCullFace,
609-
(GLenum) mode);
609+
(GLenum) mode)
610610

611611
QWEBGL_FUNCTION(deleteBuffers, void, glDeleteBuffers,
612612
(GLsizei) n, (const GLuint *) buffers)
@@ -627,7 +627,7 @@ QWEBGL_FUNCTION(deleteFramebuffers, void, glDeleteFramebuffers,
627627
}
628628

629629
QWEBGL_FUNCTION_POSTEVENT(deleteProgram, glDeleteProgram,
630-
(GLuint) program);
630+
(GLuint) program)
631631

632632
QWEBGL_FUNCTION(deleteRenderbuffers, void, glDeleteRenderbuffers,
633633
(GLsizei) n, (const GLuint *) renderbuffers)
@@ -636,7 +636,7 @@ QWEBGL_FUNCTION(deleteRenderbuffers, void, glDeleteRenderbuffers,
636636
}
637637

638638
QWEBGL_FUNCTION_POSTEVENT(deleteShader, glDeleteShader,
639-
(GLuint) shader);
639+
(GLuint) shader)
640640

641641
QWEBGL_FUNCTION(deleteTextures, void, glDeleteTextures,
642642
(GLsizei) n, (const GLuint *) textures)
@@ -645,16 +645,16 @@ QWEBGL_FUNCTION(deleteTextures, void, glDeleteTextures,
645645
}
646646

647647
QWEBGL_FUNCTION_POSTEVENT(depthFunc, glDepthFunc,
648-
(GLenum) func);
648+
(GLenum) func)
649649

650650
QWEBGL_FUNCTION_POSTEVENT(depthMask, glDepthMask,
651-
(GLboolean) flag);
651+
(GLboolean) flag)
652652

653653
QWEBGL_FUNCTION_POSTEVENT(depthRangef, glDepthRangef,
654-
(GLfloat) n, (GLfloat) f);
654+
(GLfloat) n, (GLfloat) f)
655655

656656
QWEBGL_FUNCTION_POSTEVENT(detachShader, glDetachShader,
657-
(GLuint) program, (GLuint) shader);
657+
(GLuint) program, (GLuint) shader)
658658

659659
QWEBGL_FUNCTION(disableVertexAttribArray, void, glDisableVertexAttribArray,
660660
(GLuint) index)
@@ -712,14 +712,14 @@ QWEBGL_FUNCTION_NO_PARAMS(flush, void, glFlush)
712712

713713
QWEBGL_FUNCTION_POSTEVENT(framebufferRenderbuffer, glFramebufferRenderbuffer,
714714
(GLenum) target, (GLenum) attachment,
715-
(GLenum) renderbuffertarget, (GLuint) renderbuffer);
715+
(GLenum) renderbuffertarget, (GLuint) renderbuffer)
716716

717717
QWEBGL_FUNCTION_POSTEVENT(framebufferTexture2D, glFramebufferTexture2D,
718718
(GLenum) target, (GLenum) attachment, (GLenum) textarget,
719-
(GLuint) texture, (GLint) level);
719+
(GLuint) texture, (GLint) level)
720720

721721
QWEBGL_FUNCTION_POSTEVENT(frontFace, glFrontFace,
722-
(GLenum) mode);
722+
(GLenum) mode)
723723

724724
QWEBGL_FUNCTION(genBuffers, void, glGenBuffers,
725725
(GLsizei) n, (GLuint *) buffers)
@@ -762,7 +762,7 @@ QWEBGL_FUNCTION(genTextures, void, glGenTextures,
762762
}
763763

764764
QWEBGL_FUNCTION_POSTEVENT(generateMipmap, glGenerateMipmap,
765-
(GLenum) target);
765+
(GLenum) target)
766766

767767
QWEBGL_FUNCTION(getActiveAttrib, void, glGetActiveAttrib,
768768
(GLuint) program, (GLuint) index, (GLsizei) bufSize,
@@ -1079,7 +1079,7 @@ QWEBGL_FUNCTION(getVertexAttribiv, void, glGetVertexAttribiv,
10791079
}
10801080

10811081
QWEBGL_FUNCTION_POSTEVENT(hint, glHint,
1082-
(GLenum) target, (GLenum) mode);
1082+
(GLenum) target, (GLenum) mode)
10831083

10841084
QWEBGL_FUNCTION(isBuffer, GLboolean, glIsBuffer,
10851085
(GLuint) buffer)
@@ -1124,10 +1124,10 @@ QWEBGL_FUNCTION(isTexture, GLboolean, glIsTexture,
11241124
}
11251125

11261126
QWEBGL_FUNCTION_POSTEVENT(lineWidth, glLineWidth,
1127-
(GLfloat) width);
1127+
(GLfloat) width)
11281128

11291129
QWEBGL_FUNCTION_POSTEVENT(linkProgram, glLinkProgram,
1130-
(GLuint) program);
1130+
(GLuint) program)
11311131

11321132
QWEBGL_FUNCTION(pixelStorei, void, glPixelStorei,
11331133
(GLenum) pname, (GLint) param)
@@ -1139,7 +1139,7 @@ QWEBGL_FUNCTION(pixelStorei, void, glPixelStorei,
11391139
}
11401140

11411141
QWEBGL_FUNCTION_POSTEVENT(polygonOffset, glPolygonOffset,
1142-
(GLfloat) factor, (GLfloat) units);
1142+
(GLfloat) factor, (GLfloat) units)
11431143

11441144
QWEBGL_FUNCTION(readPixels, void, glReadPixels,
11451145
(GLint) x, (GLint) y, (GLsizei) width, (GLsizei) height,
@@ -1158,13 +1158,13 @@ QWEBGL_FUNCTION_NO_PARAMS(releaseShaderCompiler, void, glReleaseShaderCompiler)
11581158

11591159
QWEBGL_FUNCTION_POSTEVENT(renderbufferStorage, glRenderbufferStorage,
11601160
(GLenum) target, (GLenum) internalformat,
1161-
(GLsizei) width, (GLsizei) height);
1161+
(GLsizei) width, (GLsizei) height)
11621162

11631163
QWEBGL_FUNCTION_POSTEVENT(sampleCoverage, glSampleCoverage,
1164-
(GLfloat) value, (GLboolean) invert);
1164+
(GLfloat) value, (GLboolean) invert)
11651165

11661166
QWEBGL_FUNCTION_POSTEVENT(scissor, glScissor,
1167-
(GLint) x, (GLint) y, (GLsizei) width, (GLsizei) height);
1167+
(GLint) x, (GLint) y, (GLsizei) width, (GLsizei) height)
11681168

11691169
QWEBGL_FUNCTION(shaderBinary, void, glShaderBinary,
11701170
(GLsizei), (const GLuint *), (GLenum), (const void *), (GLsizei))
@@ -1190,22 +1190,22 @@ QWEBGL_FUNCTION(shaderSource, void, glShaderSource,
11901190
}
11911191

11921192
QWEBGL_FUNCTION_POSTEVENT(stencilFunc, glStencilFunc,
1193-
(GLenum) func, (GLint) ref, (GLuint) mask);
1193+
(GLenum) func, (GLint) ref, (GLuint) mask)
11941194

11951195
QWEBGL_FUNCTION_POSTEVENT(stencilFuncSeparate, glStencilFuncSeparate,
1196-
(GLenum) face, (GLenum) func, (GLint) ref, (GLuint) mask);
1196+
(GLenum) face, (GLenum) func, (GLint) ref, (GLuint) mask)
11971197

11981198
QWEBGL_FUNCTION_POSTEVENT(stencilMask, glStencilMask,
1199-
(GLuint) mask);
1199+
(GLuint) mask)
12001200

12011201
QWEBGL_FUNCTION_POSTEVENT(stencilMaskSeparate, glStencilMaskSeparate,
12021202
(GLenum) face, (GLuint) mask)
12031203

12041204
QWEBGL_FUNCTION_POSTEVENT(stencilOp, glStencilOp,
1205-
(GLenum) fail, (GLenum) zfail, (GLenum) zpass);
1205+
(GLenum) fail, (GLenum) zfail, (GLenum) zpass)
12061206

12071207
QWEBGL_FUNCTION_POSTEVENT(stencilOpSeparate, glStencilOpSeparate,
1208-
(GLenum) face, (GLenum) sfail, (GLenum) dpfail, (GLenum) dppass);
1208+
(GLenum) face, (GLenum) sfail, (GLenum) dpfail, (GLenum) dppass)
12091209

12101210
QWEBGL_FUNCTION(texImage2D, void, glTexImage2D,
12111211
(GLenum) target, (GLint) level, (GLint) internalformat,
@@ -1220,7 +1220,7 @@ QWEBGL_FUNCTION(texImage2D, void, glTexImage2D,
12201220
}
12211221

12221222
QWEBGL_FUNCTION_POSTEVENT(texParameterf, glTexParameterf,
1223-
(GLenum) target, (GLenum) pname, (GLfloat) param);
1223+
(GLenum) target, (GLenum) pname, (GLfloat) param)
12241224

12251225
QWEBGL_FUNCTION(texParameterfv, void, glTexParameterfv,
12261226
(GLenum), (GLenum), (const GLfloat *))
@@ -1229,7 +1229,7 @@ QWEBGL_FUNCTION(texParameterfv, void, glTexParameterfv,
12291229
}
12301230

12311231
QWEBGL_FUNCTION_POSTEVENT(texParameteri, glTexParameteri,
1232-
(GLenum) target, (GLenum) pname, (GLint) param);
1232+
(GLenum) target, (GLenum) pname, (GLint) param)
12331233

12341234
QWEBGL_FUNCTION(texParameteriv, void, glTexParameteriv,
12351235
(GLenum), (GLenum), (const GLint *))
@@ -1249,7 +1249,7 @@ QWEBGL_FUNCTION(texSubImage2D, void, glTexSubImage2D,
12491249
: nullptr);
12501250
}
12511251

1252-
QWEBGL_FUNCTION_POSTEVENT(uniform1f, glUniform1f, (GLint) location, (GLfloat) v0);
1252+
QWEBGL_FUNCTION_POSTEVENT(uniform1f, glUniform1f, (GLint) location, (GLfloat) v0)
12531253

12541254
QWEBGL_FUNCTION(uniform1fv, void, glUniform1fv,
12551255
(GLint) location, (GLsizei) count, (const GLfloat *) value)
@@ -1258,7 +1258,7 @@ QWEBGL_FUNCTION(uniform1fv, void, glUniform1fv,
12581258
}
12591259

12601260
QWEBGL_FUNCTION_POSTEVENT(uniform1i, glUniform1i,
1261-
(GLint) location, (GLint) v0);
1261+
(GLint) location, (GLint) v0)
12621262

12631263
QWEBGL_FUNCTION(uniform1iv, void, glUniform1iv,
12641264
(GLint) location, (GLsizei) count, (const GLint *) value)
@@ -1267,7 +1267,7 @@ QWEBGL_FUNCTION(uniform1iv, void, glUniform1iv,
12671267
}
12681268

12691269
QWEBGL_FUNCTION_POSTEVENT(uniform2f, glUniform2f,
1270-
(GLint) location, (GLfloat) v0, (GLfloat) v1);
1270+
(GLint) location, (GLfloat) v0, (GLfloat) v1)
12711271

12721272
QWEBGL_FUNCTION(uniform2fv, void, glUniform2fv,
12731273
(GLint) location, (GLsizei) count, (const GLfloat *) value)
@@ -1276,7 +1276,7 @@ QWEBGL_FUNCTION(uniform2fv, void, glUniform2fv,
12761276
}
12771277

12781278
QWEBGL_FUNCTION_POSTEVENT(uniform2i, glUniform2i,
1279-
(GLint) location, (GLint) v0, (GLint) v1);
1279+
(GLint) location, (GLint) v0, (GLint) v1)
12801280

12811281
QWEBGL_FUNCTION(uniform2iv, void, glUniform2iv,
12821282
(GLint) location, (GLsizei) count, (const GLint *) value)
@@ -1285,7 +1285,7 @@ QWEBGL_FUNCTION(uniform2iv, void, glUniform2iv,
12851285
}
12861286

12871287
QWEBGL_FUNCTION_POSTEVENT(uniform3f, glUniform3f,
1288-
(GLint) location, (GLfloat) v0, (GLfloat) v1, (GLfloat) v2);
1288+
(GLint) location, (GLfloat) v0, (GLfloat) v1, (GLfloat) v2)
12891289

12901290

12911291
QWEBGL_FUNCTION(uniform3fv, void, glUniform3fv,
@@ -1295,7 +1295,7 @@ QWEBGL_FUNCTION(uniform3fv, void, glUniform3fv,
12951295
}
12961296

12971297
QWEBGL_FUNCTION_POSTEVENT(uniform3i, glUniform3i,
1298-
(GLint) location, (GLint) v0, (GLint) v1, (GLint) v2);
1298+
(GLint) location, (GLint) v0, (GLint) v1, (GLint) v2)
12991299

13001300
QWEBGL_FUNCTION(uniform3iv, void, glUniform3iv,
13011301
(GLint) location, (GLsizei) count, (const GLint *) value)
@@ -1305,7 +1305,7 @@ QWEBGL_FUNCTION(uniform3iv, void, glUniform3iv,
13051305

13061306
QWEBGL_FUNCTION_POSTEVENT(uniform4f, glUniform4f,
13071307
(GLint) location, (GLfloat) v0, (GLfloat) v1,
1308-
(GLfloat) v2, (GLfloat) v3);
1308+
(GLfloat) v2, (GLfloat) v3)
13091309

13101310
QWEBGL_FUNCTION(uniform4fv, void, glUniform4fv,
13111311
(GLint) location, (GLsizei) count, (const GLfloat *) value)
@@ -1314,7 +1314,7 @@ QWEBGL_FUNCTION(uniform4fv, void, glUniform4fv,
13141314
}
13151315

13161316
QWEBGL_FUNCTION_POSTEVENT(uniform4i, glUniform4i,
1317-
(GLint) location, (GLint) v0, (GLint) v1, (GLint) v2, (GLint) v3);
1317+
(GLint) location, (GLint) v0, (GLint) v1, (GLint) v2, (GLint) v3)
13181318

13191319
QWEBGL_FUNCTION(uniform4iv, void, glUniform4iv,
13201320
(GLint) location, (GLsizei) count, (const GLint *) value)
@@ -1341,13 +1341,13 @@ QWEBGL_FUNCTION(uniformMatrix4fv, void, glUniformMatrix4fv,
13411341
}
13421342

13431343
QWEBGL_FUNCTION_POSTEVENT(useProgram, glUseProgram,
1344-
(GLuint) program);
1344+
(GLuint) program)
13451345

13461346
QWEBGL_FUNCTION_POSTEVENT(validateProgram, glValidateProgram,
1347-
(GLuint) program);
1347+
(GLuint) program)
13481348

13491349
QWEBGL_FUNCTION_POSTEVENT(vertexAttrib1f, glVertexAttrib1f,
1350-
(GLuint) index, (GLfloat) x);
1350+
(GLuint) index, (GLfloat) x)
13511351

13521352
QWEBGL_FUNCTION(vertexAttrib1fv, void, glVertexAttrib1fv,
13531353
(GLuint) index, (const GLfloat *) v)
@@ -1356,7 +1356,7 @@ QWEBGL_FUNCTION(vertexAttrib1fv, void, glVertexAttrib1fv,
13561356
}
13571357

13581358
QWEBGL_FUNCTION_POSTEVENT(vertexAttrib2f, glVertexAttrib2f,
1359-
(GLuint) index, (GLfloat) x, (GLfloat) y);
1359+
(GLuint) index, (GLfloat) x, (GLfloat) y)
13601360

13611361
QWEBGL_FUNCTION(vertexAttrib2fv, void, glVertexAttrib2fv,
13621362
(GLuint) index, (const GLfloat *) v)
@@ -1365,7 +1365,7 @@ QWEBGL_FUNCTION(vertexAttrib2fv, void, glVertexAttrib2fv,
13651365
}
13661366

13671367
QWEBGL_FUNCTION_POSTEVENT(vertexAttrib3f, glVertexAttrib3f,
1368-
(GLuint) index, (GLfloat) x, (GLfloat) y, (GLfloat) z);
1368+
(GLuint) index, (GLfloat) x, (GLfloat) y, (GLfloat) z)
13691369

13701370
QWEBGL_FUNCTION(vertexAttrib3fv, void, glVertexAttrib3fv,
13711371
(GLuint) index, (const GLfloat *) v)
@@ -1374,7 +1374,7 @@ QWEBGL_FUNCTION(vertexAttrib3fv, void, glVertexAttrib3fv,
13741374
}
13751375

13761376
QWEBGL_FUNCTION_POSTEVENT(vertexAttrib4f, glVertexAttrib4f,
1377-
(GLuint) index, (GLfloat) x, (GLfloat) y, (GLfloat) z, (GLfloat) w);
1377+
(GLuint) index, (GLfloat) x, (GLfloat) y, (GLfloat) z, (GLfloat) w)
13781378

13791379
QWEBGL_FUNCTION(vertexAttrib4fv, void, glVertexAttrib4fv,
13801380
(GLuint) index, (const GLfloat *) v)
@@ -1411,11 +1411,11 @@ QWEBGL_FUNCTION(viewport, void, glViewport,
14111411
QWEBGL_FUNCTION_POSTEVENT(blitFramebufferEXT, glBlitFramebufferEXT,
14121412
(GLint) srcX0, (GLint) srcY0, (GLint) srcX1, (GLint) srcY1,
14131413
(GLint) dstX0, (GLint) dstY0, (GLint) dstX1, (GLint) dstY1,
1414-
(GLbitfield) mask, (GLenum) filter);
1414+
(GLbitfield) mask, (GLenum) filter)
14151415

14161416
QWEBGL_FUNCTION_POSTEVENT(renderbufferStorageMultisampleEXT, glRenderbufferStorageMultisampleEXT,
14171417
(GLenum) target, (GLsizei) samples, (GLenum) internalformat, (GLsizei) width,
1418-
(GLsizei) height);
1418+
(GLsizei) height)
14191419

14201420
QWEBGL_FUNCTION(getTexLevelParameteriv, void, glGetTexLevelParameteriv,
14211421
(GLenum), (GLint), (GLenum), (GLint *))

0 commit comments

Comments
 (0)