20 "File has invalid extension",
21 "Failed to open the file",
22 "PNG file is invalid or corrupted",
23 "XPM42 file is invalid or corrupted",
24 "The specified X or Y positions are out of bounds",
25 "The specified Width or Height dimensions are out of bounds",
26 "The provided image is invalid, might indicate mismanagement of images",
27 "Failed to compile the vertex shader.",
28 "Failed to compile the fragment shader.",
29 "Failed to compile the shaders.",
30 "Failed to allocate memory",
31 "Failed to initialize GLAD",
32 "Failed to initialize GLFW",
33 "Failed to create window",
34 "String is too big to be drawn",
enum mlx_errno mlx_errno_t
#define MLX_ASSERT(cond, msg)
GLuint GLsizei GLsizei * length
const char * mlx_strerror(mlx_errno_t val)
static const char * mlx_errors[MLX_ERRMAX]
bool mlx_error(mlx_errno_t val)