diff options
Diffstat (limited to 'src/core/resource/image.hh')
| -rw-r--r-- | src/core/resource/image.hh | 13 |
1 files changed, 11 insertions, 2 deletions
diff --git a/src/core/resource/image.hh b/src/core/resource/image.hh index 575591f..4f93da6 100644 --- a/src/core/resource/image.hh +++ b/src/core/resource/image.hh @@ -1,7 +1,14 @@ +// SPDX-License-Identifier: BSD-2-Clause +// Copyright (c) 2025 Kirill Dmitrievich +// File: image.hh +// Description: Image resource + +#ifndef CORE_RESOURCE_IMAGE_HH +#define CORE_RESOURCE_IMAGE_HH #pragma once -constexpr static unsigned int IMAGE_LOAD_GRAY = 0x0001U; -constexpr static unsigned int IMAGE_LOAD_FLIP = 0x0002U; +constexpr static unsigned int IMGFLAG_GRAY = 0x0001U; +constexpr static unsigned int IMGFLAG_FLIP = 0x0002U; struct Image final { static void register_resource(void); @@ -9,3 +16,5 @@ struct Image final { stbi_uc* pixels; glm::ivec2 size; }; + +#endif |
