Updated astc lib.

This commit is contained in:
Бранимир Караџић
2021-03-12 07:47:28 -08:00
parent 7b70810f4b
commit 200165a0dd
4 changed files with 22 additions and 9 deletions

View File

@@ -19,7 +19,6 @@
#include <stdint.h>
#include <stdlib.h>
#include <math.h>
#include "mathlib.h"
#ifndef MIN

View File

@@ -53,6 +53,7 @@ namespace
{ 0, 1, 2, 3 }, // ASTC_RGBA
{ 2, 1, 0, 3 }, // ASTC_BGRA
{ 0, 0, 0, 1 }, // ASTC_ENC_NORMAL_RA
{ 0, 0, 0, 1 }, // ASTC_ENC_NORMAL_RA_PCPT
{ 0, 3, 6, 5 }, // ASTC_DEC_RA_NORMAL
};

View File

@@ -42,4 +42,17 @@ project "bimg_encode"
"-fPIC",
}
configuration { "mingw* or linux* or osx*" }
buildoptions {
"-Wno-implicit-fallthrough",
"-Wno-shadow",
"-Wno-shift-negative-value",
"-Wno-undef",
}
buildoptions_cpp {
"-Wno-class-memaccess",
"-Wno-deprecated-copy",
}
configuration {}