summaryrefslogtreecommitdiffstats
path: root/scene/resources/texture.cpp
diff options
context:
space:
mode:
authorRémi Verschelde <rverschelde@gmail.com>2019-02-27 08:57:37 +0100
committerRémi Verschelde <rverschelde@gmail.com>2019-02-27 09:01:24 +0100
commit0ba75c195efffcb098ac74440ffb0fa9c85d0d96 (patch)
tree4beaa2d008b5c40a469319552e46cfc8e9e94eb0 /scene/resources/texture.cpp
parentcaa42667e801318fcb78c9f52921a48cf985b62f (diff)
downloadredot-engine-0ba75c195efffcb098ac74440ffb0fa9c85d0d96.tar.gz
Fix GCC 5 build after #26331 and cleanup style
Also cleanup after 01a3dd3.
Diffstat (limited to 'scene/resources/texture.cpp')
-rw-r--r--scene/resources/texture.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/scene/resources/texture.cpp b/scene/resources/texture.cpp
index 1ce31374d9..08b2a05d43 100644
--- a/scene/resources/texture.cpp
+++ b/scene/resources/texture.cpp
@@ -427,7 +427,7 @@ ImageTexture::ImageTexture() {
storage = STORAGE_RAW;
lossy_storage_quality = 0.7;
image_stored = false;
- format = Image::Format::FORMAT_L8;
+ format = Image::FORMAT_L8;
}
ImageTexture::~ImageTexture() {
@@ -1516,7 +1516,7 @@ CubeMap::CubeMap() {
cubemap = VisualServer::get_singleton()->texture_create();
storage = STORAGE_RAW;
lossy_storage_quality = 0.7;
- format = Image::Format::FORMAT_BPTC_RGBA;
+ format = Image::FORMAT_BPTC_RGBA;
}
CubeMap::~CubeMap() {