gl: Deswizzle textures on the GPU

This commit is contained in:
kd-11 2022-05-27 23:42:57 +03:00 committed by kd-11
parent 532563e861
commit 60a2a39e88
17 changed files with 413 additions and 222 deletions

View file

@ -252,7 +252,7 @@ namespace gl
void fbo::draw_buffers(const std::initializer_list<attachment>& indexes) const
{
rsx::simple_array<GLenum> ids;
ids.reserve(indexes.size());
ids.reserve(::size32(indexes));
for (auto &index : indexes)
ids.push_back(index.id());