mirror of
https://github.com/bkaradzic/bimg.git
synced 2026-02-17 20:52:38 +01:00
Updated astc lib.
This commit is contained in:
1
3rdparty/astc/astc_codec_internals.h
vendored
1
3rdparty/astc/astc_codec_internals.h
vendored
@@ -19,7 +19,6 @@
|
||||
|
||||
#include <stdint.h>
|
||||
#include <stdlib.h>
|
||||
#include <math.h>
|
||||
#include "mathlib.h"
|
||||
|
||||
#ifndef MIN
|
||||
|
||||
1
3rdparty/astc/astc_lib.cpp
vendored
1
3rdparty/astc/astc_lib.cpp
vendored
@@ -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
|
||||
};
|
||||
|
||||
|
||||
@@ -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 {}
|
||||
|
||||
Reference in New Issue
Block a user