mesa/main: removing double semi-colons

Trivial change. Removing unnecessary semi-colons from the code.
I don't have push access so someone reviewing this can push it.

Signed-off-by: Jakob Sinclair <sinclair.jakob@openmailbox.org>
Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
Reviewed-by: Edward O'Callaghan <eocallaghan@alterapraxis.com>
Reviewed-by: Chad Versace <chad.versace@intel.com>
This commit is contained in:
Jakob Sinclair 2016-04-13 18:43:10 +02:00 committed by Chad Versace
parent 09e4ac00ac
commit 12da8bb5f4
2 changed files with 2 additions and 2 deletions

View file

@ -626,7 +626,7 @@ _mesa_GetProgramPipelineiv(GLuint pipeline, GLenum pname, GLint *params)
/* Are geometry shaders available in this context?
*/
const bool has_gs = _mesa_has_geometry_shaders(ctx);
const bool has_tess = _mesa_has_tessellation(ctx);;
const bool has_tess = _mesa_has_tessellation(ctx);
if (!pipe) {
_mesa_error(ctx, GL_INVALID_OPERATION,

View file

@ -2398,7 +2398,7 @@ _mesa_GetActiveSubroutineUniformiv(GLuint program, GLenum shadertype,
res = _mesa_program_resource_find_index(shProg, resource_type, index);
if (res) {
values[0] = strlen(_mesa_program_resource_name(res)) + 1
+ ((_mesa_program_resource_array_size(res) != 0) ? 3 : 0);;
+ ((_mesa_program_resource_array_size(res) != 0) ? 3 : 0);
}
break;
default: