diff options
| author | untodesu <kirill@untode.su> | 2025-12-26 23:17:56 +0500 |
|---|---|---|
| committer | untodesu <kirill@untode.su> | 2025-12-26 23:17:56 +0500 |
| commit | 0f111cf51b00c4e884b7e53b4fd7ff6e38d8af5e (patch) | |
| tree | 90ddefa28b40b6384dd9618bb7573704de2733a9 /src/game/client/resource/texture_gui.cc | |
| parent | 6bb4233d5b2a1688e63c947542e92ec5d5a857a6 (diff) | |
| download | voxelius-0f111cf51b00c4e884b7e53b4fd7ff6e38d8af5e.tar.bz2 voxelius-0f111cf51b00c4e884b7e53b4fd7ff6e38d8af5e.zip | |
Add include guards and header comments to sources
Diffstat (limited to 'src/game/client/resource/texture_gui.cc')
| -rw-r--r-- | src/game/client/resource/texture_gui.cc | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/src/game/client/resource/texture_gui.cc b/src/game/client/resource/texture_gui.cc index beb2f54..b87a244 100644 --- a/src/game/client/resource/texture_gui.cc +++ b/src/game/client/resource/texture_gui.cc @@ -1,3 +1,8 @@ +// SPDX-License-Identifier: BSD-2-Clause +// Copyright (c) 2025 Kirill Dmitrievich +// File: texture_gui.cc +// Description: GUI texture resource + #include "client/pch.hh" #include "client/resource/texture_gui.hh" @@ -12,11 +17,11 @@ static const void* texture_gui_load_func(const char* name, std::uint32_t flags) unsigned int image_load_flags = 0U; if(flags & TEXTURE_GUI_LOAD_VFLIP) { - image_load_flags |= IMAGE_LOAD_FLIP; + image_load_flags |= IMGFLAG_FLIP; } if(flags & TEXTURE_GUI_LOAD_GRAYSCALE) { - image_load_flags |= IMAGE_LOAD_GRAY; + image_load_flags |= IMGFLAG_GRAY; } if(auto image = resource::load<Image>(name, image_load_flags)) { |
