mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-10-22 10:49:05 +02:00
Back out clearly inconsequential/useless .reserve() calls
This commit is contained in:
1 parent
c97d5ef23f
commit
126d88ecfc
25 files changed
+14
-61
No files matched your search
@@ -103,7 +103,6 @@ void DrawEngineGLES::InitDeviceObjects() {
|
||||
|
||||
int stride = sizeof(TransformedVertex);
|
||||
std::vector<GLRInputLayout::Entry> entries;
|
||||
entries.reserve(5);
|
||||
entries.push_back({ ATTR_POSITION, 4, GL_FLOAT, GL_FALSE, offsetof(TransformedVertex, x) });
|
||||
entries.push_back({ ATTR_TEXCOORD, 3, GL_FLOAT, GL_FALSE, offsetof(TransformedVertex, u) });
|
||||
entries.push_back({ ATTR_COLOR0, 4, GL_UNSIGNED_BYTE, GL_TRUE, offsetof(TransformedVertex, color0) });
|
||||
|
||||
Reference in new issue
Block a user