Minor warning fixes #1951

Merged
biodranik merged 1 commit from minor-warning-fix into master 2022-01-27 17:52:33 +00:00
2 changed files with 2 additions and 2 deletions

View file

@ -39,7 +39,7 @@ dp::BindingInfo GetBindingInfo()
uint8_t offset = 0;
offset += dp::FillDecl<glsl::vec2, RulerVertex>(0, "a_position", info, offset);
offset += dp::FillDecl<glsl::vec2, RulerVertex>(1, "a_normal", info, offset);
offset += dp::FillDecl<glsl::vec2, RulerVertex>(2, "a_colorTexCoords", info, offset);
/*offset += */dp::FillDecl<glsl::vec2, RulerVertex>(2, "a_colorTexCoords", info, offset);
return info;
}

View file

@ -110,7 +110,7 @@ struct UserPointVertex : public gpu::BaseVertex
offset += dp::FillDecl<TNormalAndAnimateOrZ, UserPointVertex>(1, "a_normalAndAnimateOrZ", info,
offset);
offset += dp::FillDecl<TTexCoord, UserPointVertex>(2, "a_texCoords", info, offset);
offset += dp::FillDecl<TColor, UserPointVertex>(3, "a_color", info, offset);
/*offset += */dp::FillDecl<TColor, UserPointVertex>(3, "a_color", info, offset);
return info;
}