std140 implementation
This commit is contained in:
@@ -4,9 +4,9 @@
|
||||
#include "opengl/error.hpp"
|
||||
#include "opengl/type_utils.hpp"
|
||||
|
||||
void zgl::mesh_index_buffer_manager::process(const assets::data_stores& stores)
|
||||
void zgl::mesh_index_buffer_manager::process(const store_type& meshes)
|
||||
{
|
||||
for (const auto& [ id, mesh ] : stores.meshes)
|
||||
for (const auto& [ id, mesh ] : meshes)
|
||||
{
|
||||
if (not m_resource_manager.has_resource(id))
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user