rubbish
This commit is contained in:
@@ -6,11 +6,11 @@
|
||||
|
||||
|
||||
void zgl::texture_manager::process(
|
||||
dynamic_texture_store& store
|
||||
const assets::data_stores& stores
|
||||
) {
|
||||
m_texture_buffer.clear();
|
||||
|
||||
for (const auto& [ id, texture ] : store)
|
||||
for (const auto& [ id, texture ] : stores.textures)
|
||||
{
|
||||
if (not m_resource_manager.has_resource(id))
|
||||
{
|
||||
@@ -33,7 +33,7 @@ void zgl::texture_manager::process(
|
||||
|
||||
GLenum format;
|
||||
switch (texture.components()) {
|
||||
using enum texture_components::flags;
|
||||
using enum assets::texture_components::flags;
|
||||
case luminance:
|
||||
format = GL_LUMINANCE;
|
||||
break;
|
||||
|
||||
Reference in New Issue
Block a user