removing all memory dump strings informations in release mode

This commit is contained in:
2023-11-16 14:04:51 +01:00
parent e471585946
commit d1613ddfdb
10 changed files with 81 additions and 36 deletions

View File

@@ -6,7 +6,7 @@
/* By: maldavid <kbz_8.dev@akel-engine.com> +#+ +:+ +#+ */
/* +#+#+#+#+#+ +#+ */
/* Created: 2022/12/18 17:25:16 by maldavid #+# #+# */
/* Updated: 2023/11/14 04:59:38 by maldavid ### ########.fr */
/* Updated: 2023/11/16 13:48:42 by maldavid ### ########.fr */
/* */
/* ************************************************************************** */
@@ -27,7 +27,11 @@ namespace mlx
_semaphores[i].init();
_uniform_buffer.reset(new UBO);
_uniform_buffer->create(this, sizeof(glm::mat4), "__mlx_matrices_uniform_buffer_");
#ifdef DEBUG
_uniform_buffer->create(this, sizeof(glm::mat4), "__mlx_matrices_uniform_buffer_");
#else
_uniform_buffer->create(this, sizeof(glm::mat4), nullptr);
#endif
VkDescriptorPoolSize pool_sizes[] = {
{ VK_DESCRIPTOR_TYPE_UNIFORM_BUFFER, 4096 },