summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndre Weissflog <floooh@gmail.com>2023-02-09 18:59:40 +0100
committerAndre Weissflog <floooh@gmail.com>2023-02-09 18:59:40 +0100
commitb8c8f4b2f5a8db62c4b8b2a30fe683569230bd4a (patch)
tree9f93936a58ece90dbadf62e6daef1eacb4aadae1
parentc554de7d15d99e3cfb7f10613bc49fb692bd1762 (diff)
sokol_gfx.h: tweak figlet font for minimap readability
-rw-r--r--sokol_gfx.h176
1 files changed, 80 insertions, 96 deletions
diff --git a/sokol_gfx.h b/sokol_gfx.h
index 823a53c1..1205da92 100644
--- a/sokol_gfx.h
+++ b/sokol_gfx.h
@@ -3123,12 +3123,11 @@ inline int sg_append_buffer(sg_buffer buf_id, const sg_range& data) { return sg_
#endif
#endif // SOKOL_GFX_INCLUDED
-// ██╗███╗ ███╗██████╗ ██╗ ███████╗███╗ ███╗███████╗███╗ ██╗████████╗ █████╗ ████████╗██╗ ██████╗ ███╗ ██╗
-// ██║████╗ ████║██╔══██╗██║ ██╔════╝████╗ ████║██╔════╝████╗ ██║╚══██╔══╝██╔══██╗╚══██╔══╝██║██╔═══██╗████╗ ██║
-// ██║██╔████╔██║██████╔╝██║ █████╗ ██╔████╔██║█████╗ ██╔██╗ ██║ ██║ ███████║ ██║ ██║██║ ██║██╔██╗ ██║
-// ██║██║╚██╔╝██║██╔═══╝ ██║ ██╔══╝ ██║╚██╔╝██║██╔══╝ ██║╚██╗██║ ██║ ██╔══██║ ██║ ██║██║ ██║██║╚██╗██║
-// ██║██║ ╚═╝ ██║██║ ███████╗███████╗██║ ╚═╝ ██║███████╗██║ ╚████║ ██║ ██║ ██║ ██║ ██║╚██████╔╝██║ ╚████║
-// ╚═╝╚═╝ ╚═╝╚═╝ ╚══════╝╚══════╝╚═╝ ╚═╝╚══════╝╚═╝ ╚═══╝ ╚═╝ ╚═╝ ╚═╝ ╚═╝ ╚═╝ ╚═════╝ ╚═╝ ╚═══╝
+// ██ ███ ███ ██████ ██ ███████ ███ ███ ███████ ███ ██ ████████ █████ ████████ ██ ██████ ███ ██
+// ██ ████ ████ ██ ██ ██ ██ ████ ████ ██ ████ ██ ██ ██ ██ ██ ██ ██ ██ ████ ██
+// ██ ██ ████ ██ ██████ ██ █████ ██ ████ ██ █████ ██ ██ ██ ██ ███████ ██ ██ ██ ██ ██ ██ ██
+// ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██
+// ██ ██ ██ ██ ███████ ███████ ██ ██ ███████ ██ ████ ██ ██ ██ ██ ██ ██████ ██ ████
//
// >>implementation
#ifdef SOKOL_GFX_IMPL
@@ -3647,12 +3646,11 @@ inline int sg_append_buffer(sg_buffer buf_id, const sg_range& data) { return sg_
#define _SG_GL_CHECK_ERROR() { SOKOL_ASSERT(glGetError() == GL_NO_ERROR); }
#endif
-// ███████╗████████╗██████╗ ██╗ ██╗ ██████╗████████╗███████╗
-// ██╔════╝╚══██╔══╝██╔══██╗██║ ██║██╔════╝╚══██╔══╝██╔════╝
-// ███████╗ ██║ ██████╔╝██║ ██║██║ ██║ ███████╗
-// ╚════██║ ██║ ██╔══██╗██║ ██║██║ ██║ ╚════██║
-// ███████║ ██║ ██║ ██║╚██████╔╝╚██████╗ ██║ ███████║
-// ╚══════╝ ╚═╝ ╚═╝ ╚═╝ ╚═════╝ ╚═════╝ ╚═╝ ╚══════╝
+// ███████ ████████ ██████ ██ ██ ██████ ████████ ███████
+// ██ ██ ██ ██ ██ ██ ██ ██ ██
+// ███████ ██ ██████ ██ ██ ██ ██ ███████
+// ██ ██ ██ ██ ██ ██ ██ ██ ██
+// ███████ ██ ██ ██ ██████ ██████ ██ ███████
//
// >>structs
/* resource pool slots */
@@ -4575,12 +4573,11 @@ typedef struct {
} _sg_state_t;
static _sg_state_t _sg;
-// ███████╗ █████╗ ███╗ ███╗██████╗ ██╗ ███████╗██████╗ ██████╗ █████╗ ██████╗██╗ ██╗███████╗
-// ██╔════╝██╔══██╗████╗ ████║██╔══██╗██║ ██╔════╝██╔══██╗ ██╔════╝██╔══██╗██╔════╝██║ ██║██╔════╝
-// ███████╗███████║██╔████╔██║██████╔╝██║ █████╗ ██████╔╝ ██║ ███████║██║ ███████║█████╗
-// ╚════██║██╔══██║██║╚██╔╝██║██╔═══╝ ██║ ██╔══╝ ██╔══██╗ ██║ ██╔══██║██║ ██╔══██║██╔══╝
-// ███████║██║ ██║██║ ╚═╝ ██║██║ ███████╗███████╗██║ ██║ ╚██████╗██║ ██║╚██████╗██║ ██║███████╗
-// ╚══════╝╚═╝ ╚═╝╚═╝ ╚═╝╚═╝ ╚══════╝╚══════╝╚═╝ ╚═╝ ╚═════╝╚═╝ ╚═╝ ╚═════╝╚═╝ ╚═╝╚══════╝
+// ███████ █████ ███ ███ ██████ ██ ███████ ██████ ██████ █████ ██████ ██ ██ ███████
+// ██ ██ ██ ████ ████ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██
+// ███████ ███████ ██ ████ ██ ██████ ██ █████ ██████ ██ ███████ ██ ███████ █████
+// ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██
+// ███████ ██ ██ ██ ██ ██ ███████ ███████ ██ ██ ██████ ██ ██ ██████ ██ ██ ███████
//
// >>sampler cache
/*
@@ -4660,12 +4657,11 @@ _SOKOL_PRIVATE uintptr_t _sg_smpcache_sampler(_sg_sampler_cache_t* cache, int it
return cache->items[item_index].sampler_handle;
}
-// ██╗ ██████╗ ██████╗ ██████╗ ██╗███╗ ██╗ ██████╗
-// ██║ ██╔═══██╗██╔════╝ ██╔════╝ ██║████╗ ██║██╔════╝
-// ██║ ██║ ██║██║ ███╗██║ ███╗██║██╔██╗ ██║██║ ███╗
-// ██║ ██║ ██║██║ ██║██║ ██║██║██║╚██╗██║██║ ██║
-// ███████╗╚██████╔╝╚██████╔╝╚██████╔╝██║██║ ╚████║╚██████╔╝
-// ╚══════╝ ╚═════╝ ╚═════╝ ╚═════╝ ╚═╝╚═╝ ╚═══╝ ╚═════╝
+// ██ ██████ ██████ ██████ ██ ███ ██ ██████
+// ██ ██ ██ ██ ██ ██ ████ ██ ██
+// ██ ██ ██ ██ ███ ██ ███ ██ ██ ██ ██ ██ ███
+// ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██
+// ███████ ██████ ██████ ██████ ██ ██ ████ ██████
//
// >>logging
#if defined(SOKOL_DEBUG)
@@ -4702,12 +4698,11 @@ static void _sg_log(sg_log_item log_item, uint32_t log_level, const char* msg, u
}
}
-// ███╗ ███╗███████╗███╗ ███╗ ██████╗ ██████╗ ██╗ ██╗
-// ████╗ ████║██╔════╝████╗ ████║██╔═══██╗██╔══██╗╚██╗ ██╔╝
-// ██╔████╔██║█████╗ ██╔████╔██║██║ ██║██████╔╝ ╚████╔╝
-// ██║╚██╔╝██║██╔══╝ ██║╚██╔╝██║██║ ██║██╔══██╗ ╚██╔╝
-// ██║ ╚═╝ ██║███████╗██║ ╚═╝ ██║╚██████╔╝██║ ██║ ██║
-// ╚═╝ ╚═╝╚══════╝╚═╝ ╚═╝ ╚═════╝ ╚═╝ ╚═╝ ╚═╝
+// ███ ███ ███████ ███ ███ ██████ ██████ ██ ██
+// ████ ████ ██ ████ ████ ██ ██ ██ ██ ██ ██
+// ██ ████ ██ █████ ██ ████ ██ ██ ██ ██████ ████
+// ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██
+// ██ ██ ███████ ██ ██ ██████ ██ ██ ██
//
// >>memory
@@ -4780,12 +4775,11 @@ _SOKOL_PRIVATE void _sg_strcpy(_sg_str_t* dst, const char* src) {
}
}
-// ██╗ ██╗███████╗██╗ ██████╗ ███████╗██████╗ ███████╗
-// ██║ ██║██╔════╝██║ ██╔══██╗██╔════╝██╔══██╗██╔════╝
-// ███████║█████╗ ██║ ██████╔╝█████╗ ██████╔╝███████╗
-// ██╔══██║██╔══╝ ██║ ██╔═══╝ ██╔══╝ ██╔══██╗╚════██║
-// ██║ ██║███████╗███████╗██║ ███████╗██║ ██║███████║
-// ╚═╝ ╚═╝╚══════╝╚══════╝╚═╝ ╚══════╝╚═╝ ╚═╝╚══════╝
+// ██ ██ ███████ ██ ██████ ███████ ██████ ███████
+// ██ ██ ██ ██ ██ ██ ██ ██ ██ ██
+// ███████ █████ ██ ██████ █████ ██████ ███████
+// ██ ██ ██ ██ ██ ██ ██ ██ ██
+// ██ ██ ███████ ███████ ██ ███████ ██ ██ ███████
//
// >>helpers
_SOKOL_PRIVATE uint32_t _sg_align_u32(uint32_t val, uint32_t align) {
@@ -5222,12 +5216,11 @@ _SOKOL_PRIVATE void _sg_resolve_default_pass_action(const sg_pass_action* from,
}
}
-// ██████╗ ██╗ ██╗███╗ ███╗███╗ ███╗██╗ ██╗ ██████╗ █████╗ ██████╗██╗ ██╗███████╗███╗ ██╗██████╗
-// ██╔══██╗██║ ██║████╗ ████║████╗ ████║╚██╗ ██╔╝ ██╔══██╗██╔══██╗██╔════╝██║ ██╔╝██╔════╝████╗ ██║██╔══██╗
-// ██║ ██║██║ ██║██╔████╔██║██╔████╔██║ ╚████╔╝ ██████╔╝███████║██║ █████╔╝ █████╗ ██╔██╗ ██║██║ ██║
-// ██║ ██║██║ ██║██║╚██╔╝██║██║╚██╔╝██║ ╚██╔╝ ██╔══██╗██╔══██║██║ ██╔═██╗ ██╔══╝ ██║╚██╗██║██║ ██║
-// ██████╔╝╚██████╔╝██║ ╚═╝ ██║██║ ╚═╝ ██║ ██║ ██████╔╝██║ ██║╚██████╗██║ ██╗███████╗██║ ╚████║██████╔╝
-// ╚═════╝ ╚═════╝ ╚═╝ ╚═╝╚═╝ ╚═╝ ╚═╝ ╚═════╝ ╚═╝ ╚═╝ ╚═════╝╚═╝ ╚═╝╚══════╝╚═╝ ╚═══╝╚═════╝
+// ██████ ██ ██ ███ ███ ███ ███ ██ ██ ██████ █████ ██████ ██ ██ ███████ ███ ██ ██████
+// ██ ██ ██ ██ ████ ████ ████ ████ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ████ ██ ██ ██
+// ██ ██ ██ ██ ██ ████ ██ ██ ████ ██ ████ ██████ ███████ ██ █████ █████ ██ ██ ██ ██ ██
+// ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██
+// ██████ ██████ ██ ██ ██ ██ ██ ██████ ██ ██ ██████ ██ ██ ███████ ██ ████ ██████
//
// >>dummy backend
#if defined(SOKOL_DUMMY_BACKEND)
@@ -5463,12 +5456,11 @@ _SOKOL_PRIVATE void _sg_dummy_update_image(_sg_image_t* img, const sg_image_data
}
}
-// ██████╗ ██████╗ ███████╗███╗ ██╗ ██████╗ ██╗ ██████╗ █████╗ ██████╗██╗ ██╗███████╗███╗ ██╗██████╗
-// ██╔═══██╗██╔══██╗██╔════╝████╗ ██║██╔════╝ ██║ ██╔══██╗██╔══██╗██╔════╝██║ ██╔╝██╔════╝████╗ ██║██╔══██╗
-// ██║ ██║██████╔╝█████╗ ██╔██╗ ██║██║ ███╗██║ ██████╔╝███████║██║ █████╔╝ █████╗ ██╔██╗ ██║██║ ██║
-// ██║ ██║██╔═══╝ ██╔══╝ ██║╚██╗██║██║ ██║██║ ██╔══██╗██╔══██║██║ ██╔═██╗ ██╔══╝ ██║╚██╗██║██║ ██║
-// ╚██████╔╝██║ ███████╗██║ ╚████║╚██████╔╝███████╗ ██████╔╝██║ ██║╚██████╗██║ ██╗███████╗██║ ╚████║██████╔╝
-// ╚═════╝ ╚═╝ ╚══════╝╚═╝ ╚═══╝ ╚═════╝ ╚══════╝ ╚═════╝ ╚═╝ ╚═╝ ╚═════╝╚═╝ ╚═╝╚══════╝╚═╝ ╚═══╝╚═════╝
+// ██████ ██████ ███████ ███ ██ ██████ ██ ██████ █████ ██████ ██ ██ ███████ ███ ██ ██████
+// ██ ██ ██ ██ ██ ████ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ████ ██ ██ ██
+// ██ ██ ██████ █████ ██ ██ ██ ██ ███ ██ ██████ ███████ ██ █████ █████ ██ ██ ██ ██ ██
+// ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██
+// ██████ ██ ███████ ██ ████ ██████ ███████ ██████ ██ ██ ██████ ██ ██ ███████ ██ ████ ██████
//
// >>opengl backend
#elif defined(_SOKOL_ANY_GL)
@@ -8350,12 +8342,11 @@ _SOKOL_PRIVATE void _sg_gl_update_image(_sg_image_t* img, const sg_image_data* d
_sg_gl_cache_restore_texture_binding(0);
}
-// ██████╗ ██████╗ ██████╗ ██╗ ██╗ ██████╗ █████╗ ██████╗██╗ ██╗███████╗███╗ ██╗██████╗
-// ██╔══██╗╚════██╗██╔══██╗███║███║ ██╔══██╗██╔══██╗██╔════╝██║ ██╔╝██╔════╝████╗ ██║██╔══██╗
-// ██║ ██║ █████╔╝██║ ██║╚██║╚██║ ██████╔╝███████║██║ █████╔╝ █████╗ ██╔██╗ ██║██║ ██║
-// ██║ ██║ ╚═══██╗██║ ██║ ██║ ██║ ██╔══██╗██╔══██║██║ ██╔═██╗ ██╔══╝ ██║╚██╗██║██║ ██║
-// ██████╔╝██████╔╝██████╔╝ ██║ ██║ ██████╔╝██║ ██║╚██████╗██║ ██╗███████╗██║ ╚████║██████╔╝
-// ╚═════╝ ╚═════╝ ╚═════╝ ╚═╝ ╚═╝ ╚═════╝ ╚═╝ ╚═╝ ╚═════╝╚═╝ ╚═╝╚══════╝╚═╝ ╚═══╝╚═════╝
+// ██████ ██████ ██████ ██ ██ ██████ █████ ██████ ██ ██ ███████ ███ ██ ██████
+// ██ ██ ██ ██ ██ ███ ███ ██ ██ ██ ██ ██ ██ ██ ██ ████ ██ ██ ██
+// ██ ██ █████ ██ ██ ██ ██ ██████ ███████ ██ █████ █████ ██ ██ ██ ██ ██
+// ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██
+// ██████ ██████ ██████ ██ ██ ██████ ██ ██ ██████ ██ ██ ███████ ██ ████ ██████
//
// >>d3d11 backend
#elif defined(SOKOL_D3D11)
@@ -10250,12 +10241,11 @@ _SOKOL_PRIVATE void _sg_d3d11_update_image(_sg_image_t* img, const sg_image_data
}
}
-// ███╗ ███╗███████╗████████╗ █████╗ ██╗ ██████╗ █████╗ ██████╗██╗ ██╗███████╗███╗ ██╗██████╗
-// ████╗ ████║██╔════╝╚══██╔══╝██╔══██╗██║ ██╔══██╗██╔══██╗██╔════╝██║ ██╔╝██╔════╝████╗ ██║██╔══██╗
-// ██╔████╔██║█████╗ ██║ ███████║██║ ██████╔╝███████║██║ █████╔╝ █████╗ ██╔██╗ ██║██║ ██║
-// ██║╚██╔╝██║██╔══╝ ██║ ██╔══██║██║ ██╔══██╗██╔══██║██║ ██╔═██╗ ██╔══╝ ██║╚██╗██║██║ ██║
-// ██║ ╚═╝ ██║███████╗ ██║ ██║ ██║███████╗ ██████╔╝██║ ██║╚██████╗██║ ██╗███████╗██║ ╚████║██████╔╝
-// ╚═╝ ╚═╝╚══════╝ ╚═╝ ╚═╝ ╚═╝╚══════╝ ╚═════╝ ╚═╝ ╚═╝ ╚═════╝╚═╝ ╚═╝╚══════╝╚═╝ ╚═══╝╚═════╝
+// ███ ███ ███████ ████████ █████ ██ ██████ █████ ██████ ██ ██ ███████ ███ ██ ██████
+// ████ ████ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ████ ██ ██ ██
+// ██ ████ ██ █████ ██ ███████ ██ ██████ ███████ ██ █████ █████ ██ ██ ██ ██ ██
+// ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██
+// ██ ██ ███████ ██ ██ ██ ███████ ██████ ██ ██ ██████ ██ ██ ███████ ██ ████ ██████
//
// >>metal backend
#elif defined(SOKOL_METAL)
@@ -11998,12 +11988,11 @@ _SOKOL_PRIVATE void _sg_mtl_update_image(_sg_image_t* img, const sg_image_data*
_sg_mtl_copy_image_data(img, mtl_tex, data);
}
-// ██╗ ██╗███████╗██████╗ ██████╗ ██████╗ ██╗ ██╗ ██████╗ █████╗ ██████╗██╗ ██╗███████╗███╗ ██╗██████╗
-// ██║ ██║██╔════╝██╔══██╗██╔════╝ ██╔══██╗██║ ██║ ██╔══██╗██╔══██╗██╔════╝██║ ██╔╝██╔════╝████╗ ██║██╔══██╗
-// ██║ █╗ ██║█████╗ ██████╔╝██║ ███╗██████╔╝██║ ██║ ██████╔╝███████║██║ █████╔╝ █████╗ ██╔██╗ ██║██║ ██║
-// ██║███╗██║██╔══╝ ██╔══██╗██║ ██║██╔═══╝ ██║ ██║ ██╔══██╗██╔══██║██║ ██╔═██╗ ██╔══╝ ██║╚██╗██║██║ ██║
-// ╚███╔███╔╝███████╗██████╔╝╚██████╔╝██║ ╚██████╔╝ ██████╔╝██║ ██║╚██████╗██║ ██╗███████╗██║ ╚████║██████╔╝
-// ╚══╝╚══╝ ╚══════╝╚═════╝ ╚═════╝ ╚═╝ ╚═════╝ ╚═════╝ ╚═╝ ╚═╝ ╚═════╝╚═╝ ╚═╝╚══════╝╚═╝ ╚═══╝╚═════╝
+// ██ ██ ███████ ██████ ██████ ██████ ██ ██ ██████ █████ ██████ ██ ██ ███████ ███ ██ ██████
+// ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ████ ██ ██ ██
+// ██ █ ██ █████ ██████ ██ ███ ██████ ██ ██ ██████ ███████ ██ █████ █████ ██ ██ ██ ██ ██
+// ██ ███ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██
+// ███ ███ ███████ ██████ ██████ ██ ██████ ██████ ██ ██ ██████ ██ ██ ███████ ██ ████ ██████
//
// >>webgpu backend
#elif defined(SOKOL_WGPU)
@@ -13733,12 +13722,11 @@ _SOKOL_PRIVATE void _sg_wgpu_update_image(_sg_image_t* img, const sg_image_data*
}
#endif
-// ██████╗ ███████╗███╗ ██╗███████╗██████╗ ██╗ ██████╗ ██████╗ █████╗ ██████╗██╗ ██╗███████╗███╗ ██╗██████╗
-// ██╔════╝ ██╔════╝████╗ ██║██╔════╝██╔══██╗██║██╔════╝ ██╔══██╗██╔══██╗██╔════╝██║ ██╔╝██╔════╝████╗ ██║██╔══██╗
-// ██║ ███╗█████╗ ██╔██╗ ██║█████╗ ██████╔╝██║██║ ██████╔╝███████║██║ █████╔╝ █████╗ ██╔██╗ ██║██║ ██║
-// ██║ ██║██╔══╝ ██║╚██╗██║██╔══╝ ██╔══██╗██║██║ ██╔══██╗██╔══██║██║ ██╔═██╗ ██╔══╝ ██║╚██╗██║██║ ██║
-// ╚██████╔╝███████╗██║ ╚████║███████╗██║ ██║██║╚██████╗ ██████╔╝██║ ██║╚██████╗██║ ██╗███████╗██║ ╚████║██████╔╝
-// ╚═════╝ ╚══════╝╚═╝ ╚═══╝╚══════╝╚═╝ ╚═╝╚═╝ ╚═════╝ ╚═════╝ ╚═╝ ╚═╝ ╚═════╝╚═╝ ╚═╝╚══════╝╚═╝ ╚═══╝╚═════╝
+// ██████ ███████ ███ ██ ███████ ██████ ██ ██████ ██████ █████ ██████ ██ ██ ███████ ███ ██ ██████
+// ██ ██ ████ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ████ ██ ██ ██
+// ██ ███ █████ ██ ██ ██ █████ ██████ ██ ██ ██████ ███████ ██ █████ █████ ██ ██ ██ ██ ██
+// ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██
+// ██████ ███████ ██ ████ ███████ ██ ██ ██ ██████ ██████ ██ ██ ██████ ██ ██ ███████ ██ ████ ██████
//
// >>generic backend
static inline void _sg_setup_backend(const sg_desc* desc) {
@@ -14227,12 +14215,11 @@ static inline void _sg_update_image(_sg_image_t* img, const sg_image_data* data)
#endif
}
-// ██████╗ ██████╗ ██████╗ ██╗
-// ██╔══██╗██╔═══██╗██╔═══██╗██║
-// ██████╔╝██║ ██║██║ ██║██║
-// ██╔═══╝ ██║ ██║██║ ██║██║
-// ██║ ╚██████╔╝╚██████╔╝███████╗
-// ╚═╝ ╚═════╝ ╚═════╝ ╚══════╝
+// ██████ ██████ ██████ ██
+// ██ ██ ██ ██ ██ ██ ██
+// ██████ ██ ██ ██ ██ ██
+// ██ ██ ██ ██ ██ ██
+// ██ ██████ ██████ ███████
//
// >>pool
_SOKOL_PRIVATE void _sg_init_pool(_sg_pool_t* pool, int num) {
@@ -14582,12 +14569,11 @@ _SOKOL_PRIVATE void _sg_discard_all_resources(_sg_pools_t* p, uint32_t ctx_id) {
}
}
-// ██╗ ██╗ █████╗ ██╗ ██╗██████╗ █████╗ ████████╗██╗ ██████╗ ███╗ ██╗
-// ██║ ██║██╔══██╗██║ ██║██╔══██╗██╔══██╗╚══██╔══╝██║██╔═══██╗████╗ ██║
-// ██║ ██║███████║██║ ██║██║ ██║███████║ ██║ ██║██║ ██║██╔██╗ ██║
-// ╚██╗ ██╔╝██╔══██║██║ ██║██║ ██║██╔══██║ ██║ ██║██║ ██║██║╚██╗██║
-// ╚████╔╝ ██║ ██║███████╗██║██████╔╝██║ ██║ ██║ ██║╚██████╔╝██║ ╚████║
-// ╚═══╝ ╚═╝ ╚═╝╚══════╝╚═╝╚═════╝ ╚═╝ ╚═╝ ╚═╝ ╚═╝ ╚═════╝ ╚═╝ ╚═══╝
+// ██ ██ █████ ██ ██ ██████ █████ ████████ ██ ██████ ███ ██
+// ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ████ ██
+// ██ ██ ███████ ██ ██ ██ ██ ███████ ██ ██ ██ ██ ██ ██ ██
+// ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██
+// ████ ██ ██ ███████ ██ ██████ ██ ██ ██ ██ ██████ ██ ████
//
// >>validation
#if defined(SOKOL_DEBUG)
@@ -15230,12 +15216,11 @@ _SOKOL_PRIVATE bool _sg_validate_update_image(const _sg_image_t* img, const sg_i
#endif
}
-// ██████╗ ███████╗███████╗ ██████╗ ██╗ ██╗██████╗ ██████╗███████╗███████╗
-// ██╔══██╗██╔════╝██╔════╝██╔═══██╗██║ ██║██╔══██╗██╔════╝██╔════╝██╔════╝
-// ██████╔╝█████╗ ███████╗██║ ██║██║ ██║██████╔╝██║ █████╗ ███████╗
-// ██╔══██╗██╔══╝ ╚════██║██║ ██║██║ ██║██╔══██╗██║ ██╔══╝ ╚════██║
-// ██║ ██║███████╗███████║╚██████╔╝╚██████╔╝██║ ██║╚██████╗███████╗███████║
-// ╚═╝ ╚═╝╚══════╝╚══════╝ ╚═════╝ ╚═════╝ ╚═╝ ╚═╝ ╚═════╝╚══════╝╚══════╝
+// ██████ ███████ ███████ ██████ ██ ██ ██████ ██████ ███████ ███████
+// ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██
+// ██████ █████ ███████ ██ ██ ██ ██ ██████ ██ █████ ███████
+// ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██
+// ██ ██ ███████ ███████ ██████ ██████ ██ ██ ██████ ███████ ███████
//
// >>resources
_SOKOL_PRIVATE sg_buffer_desc _sg_buffer_desc_defaults(const sg_buffer_desc* desc) {
@@ -15766,12 +15751,11 @@ _SOKOL_PRIVATE sg_desc _sg_desc_defaults(const sg_desc* desc) {
return res;
}
-// ██████╗ ██╗ ██╗██████╗ ██╗ ██╗ ██████╗
-// ██╔══██╗██║ ██║██╔══██╗██║ ██║██╔════╝
-// ██████╔╝██║ ██║██████╔╝██║ ██║██║
-// ██╔═══╝ ██║ ██║██╔══██╗██║ ██║██║
-// ██║ ╚██████╔╝██████╔╝███████╗██║╚██████╗
-// ╚═╝ ╚═════╝ ╚═════╝ ╚══════╝╚═╝ ╚═════╝
+// ██████ ██ ██ ██████ ██ ██ ██████
+// ██ ██ ██ ██ ██ ██ ██ ██ ██
+// ██████ ██ ██ ██████ ██ ██ ██
+// ██ ██ ██ ██ ██ ██ ██ ██
+// ██ ██████ ██████ ███████ ██ ██████
//
// >>public
SOKOL_API_IMPL void sg_setup(const sg_desc* desc) {