adding texture atlas class

This commit is contained in:
Kbz-8
2023-04-07 17:27:23 +02:00
parent f6c6b5e018
commit 5f16a98d08
9 changed files with 5230 additions and 22643 deletions

View File

@@ -6,7 +6,7 @@
/* By: maldavid <kbz_8.dev@akel-engine.com> +#+ +:+ +#+ */
/* +#+#+#+#+#+ +#+ */
/* Created: 2023/03/31 18:03:35 by maldavid #+# #+# */
/* Updated: 2023/04/02 23:50:31 by maldavid ### ########.fr */
/* Updated: 2023/04/07 14:23:01 by maldavid ### ########.fr */
/* */
/* ************************************************************************** */
@@ -67,7 +67,7 @@ namespace mlx
if(!_cpu_map->isMapped())
_cpu_map->mapMem(&_cpu_map_adress);
if(_cpu_map_adress == nullptr)
core::error::report(e_kind::fatal_error, "Texture : CPU memory mappind failed");
core::error::report(e_kind::fatal_error, "Texture : CPU memory mapping failed");
return _cpu_map_adress;
}