Fix GCC 5 build after #26331 and cleanup style

Also cleanup after 01a3dd3.
This commit is contained in:
Rémi Verschelde
2019-02-27 08:57:37 +01:00
parent caa42667e8
commit 0ba75c195e
10 changed files with 18 additions and 25 deletions

View File

@@ -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() {