std140 implementation
This commit is contained in:
@@ -5,12 +5,11 @@
|
||||
#include "opengl/error.hpp"
|
||||
|
||||
|
||||
void zgl::texture_manager::process(
|
||||
const assets::data_stores& stores
|
||||
) {
|
||||
void zgl::texture_manager::process(const store_type& textures)
|
||||
{
|
||||
m_texture_buffer.clear();
|
||||
|
||||
for (const auto& [ id, texture ] : stores.textures)
|
||||
for (const auto& [ id, texture ] : textures)
|
||||
{
|
||||
if (not m_resource_manager.has_resource(id))
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user