Remove unused parameters of StoreStaticAttrib
The parameters count and instances in VertexDataManager::StoreStaticAttrib
are never used in the function body. So this patch will remove them.
BUG=none
Change-Id: Ic3fe21ae50e5016145bfd0c78542540c8ec76fd2
Reviewed-on: https://chromium-review.googlesource.com/445337
Commit-Queue: Jamie Madill <jmadill@chromium.org>
Reviewed-by: Yunchao He <yunchao.he@intel.com>
Reviewed-by: Jamie Madill <jmadill@chromium.org>
diff --git a/src/libANGLE/renderer/d3d/VertexDataManager.cpp b/src/libANGLE/renderer/d3d/VertexDataManager.cpp
index 5b8eec5..c631349 100644
--- a/src/libANGLE/renderer/d3d/VertexDataManager.cpp
+++ b/src/libANGLE/renderer/d3d/VertexDataManager.cpp
@@ -256,7 +256,7 @@
case VertexStorageType::STATIC:
{
// Store static attribute.
- ANGLE_TRY(StoreStaticAttrib(translated, count, instances));
+ ANGLE_TRY(StoreStaticAttrib(translated));
break;
}
case VertexStorageType::DYNAMIC:
@@ -313,9 +313,7 @@
}
// static
-gl::Error VertexDataManager::StoreStaticAttrib(TranslatedAttribute *translated,
- GLsizei count,
- GLsizei instances)
+gl::Error VertexDataManager::StoreStaticAttrib(TranslatedAttribute *translated)
{
const auto &attrib = *translated->attribute;
const auto &binding = *translated->binding;