tried making naming more uniform and implemented most of the opengl managers

This commit is contained in:
ZY4N
2025-03-25 02:22:44 +01:00
parent c609d49f0d
commit 71ea2d9237
155 changed files with 4097 additions and 2434 deletions

View File

@@ -33,7 +33,7 @@ void zgl::texture_manager::process(
GLenum format;
switch (texture.components()) {
using enum components::texture::flags;
using enum texture_components::flags;
case luminance:
format = GL_LUMINANCE;
break;
@@ -56,7 +56,7 @@ void zgl::texture_manager::process(
if (const auto e = get_error())
{
ztu::logger::error("Error while binding texture %: %.", texture_id, e.message());
return;
continue;
}
glTexParameteri(GL_TEXTURE_2D, GL_TEXTURE_WRAP_S, GL_REPEAT);