31 lines
694 B
C
31 lines
694 B
C
/**
|
|
* @file locale_common.h
|
|
* @author Piotr Krygier (everyonecancode@gmail.com)
|
|
* @brief Error messages for Vulkan initializers
|
|
* @version 0.1
|
|
* @date 2022-05-13
|
|
*
|
|
* @copyright Copyright (c) 2022
|
|
*
|
|
*/
|
|
|
|
#ifndef RSE_LOCALE_COMMON_H
|
|
#define RSE_LOCALE_COMMON_H
|
|
|
|
#include "localization.h"
|
|
|
|
#define vulkan_error_messages vulkan_error_messages_nolocale[SELECTED_LANGUAGE]
|
|
|
|
enum vulkan_errors_t {
|
|
COMMON_MEMORY_ALLOCATION_FAILED,
|
|
LAST_MESSAGE
|
|
};
|
|
|
|
static const char vulkan_error_messages_nolocale[LAST_LANGUAGE][LAST_MESSAGE][MAX_MESSAGE_LENGHT] = {
|
|
{/* EN_US */
|
|
/* COMMON_MEMORY_ALLOCATION_FAILED */
|
|
"Unable to allocate memory"
|
|
}
|
|
};
|
|
|
|
#endif /* RSE_LOCALE_COMMON_H */ |