mirror of
https://github.com/godotengine/godot.git
synced 2026-01-06 10:11:57 +03:00
Style: Replace header guards with #pragma once
This commit is contained in:
@@ -28,8 +28,7 @@
|
||||
/* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */
|
||||
/**************************************************************************/
|
||||
|
||||
#ifndef IMAGE_COMPRESS_ETCPAK_H
|
||||
#define IMAGE_COMPRESS_ETCPAK_H
|
||||
#pragma once
|
||||
|
||||
#ifdef TOOLS_ENABLED
|
||||
|
||||
@@ -56,5 +55,3 @@ void _compress_bc(Image *r_img, Image::UsedChannels p_channels);
|
||||
void _compress_etcpak(EtcpakType p_compress_type, Image *r_img);
|
||||
|
||||
#endif // TOOLS_ENABLED
|
||||
|
||||
#endif // IMAGE_COMPRESS_ETCPAK_H
|
||||
|
||||
@@ -28,8 +28,7 @@
|
||||
/* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */
|
||||
/**************************************************************************/
|
||||
|
||||
#ifndef IMAGE_DECOMPRESS_ETCPAK_H
|
||||
#define IMAGE_DECOMPRESS_ETCPAK_H
|
||||
#pragma once
|
||||
|
||||
#include "core/io/image.h"
|
||||
|
||||
@@ -41,5 +40,3 @@ enum EtcpakFormat {
|
||||
};
|
||||
|
||||
void _decompress_etc(Image *p_image);
|
||||
|
||||
#endif // IMAGE_DECOMPRESS_ETCPAK_H
|
||||
|
||||
@@ -28,12 +28,9 @@
|
||||
/* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */
|
||||
/**************************************************************************/
|
||||
|
||||
#ifndef ETCPAK_REGISTER_TYPES_H
|
||||
#define ETCPAK_REGISTER_TYPES_H
|
||||
#pragma once
|
||||
|
||||
#include "modules/register_module_types.h"
|
||||
|
||||
void initialize_etcpak_module(ModuleInitializationLevel p_level);
|
||||
void uninitialize_etcpak_module(ModuleInitializationLevel p_level);
|
||||
|
||||
#endif // ETCPAK_REGISTER_TYPES_H
|
||||
|
||||
Reference in New Issue
Block a user