Last active
July 17, 2022 17:37
-
-
Save Asd-g/f7dc6f88f9a48c3442ebc996f45bc5ce to your computer and use it in GitHub Desktop.
libplacebo_msvc (v4.208.0)
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/src/filters.c b/src/filters.c | |
index 3cac1de..aaec3ff 100644 | |
--- a/src/filters.c | |
+++ b/src/filters.c | |
@@ -34,6 +34,7 @@ | |
* - https://github.com/AviSynth/jinc-resize (only used to verify the math) | |
*/ | |
+#define _USE_MATH_DEFINES | |
#include <math.h> | |
#include "common.h" | |
diff --git a/src/meson.build b/src/meson.build | |
index 4ef7d2a..0866de6 100644 | |
--- a/src/meson.build | |
+++ b/src/meson.build | |
@@ -28,9 +28,9 @@ build_deps = [ libm, threads ] | |
test_deps = [] | |
vulkan_opt = get_option('vulkan') | |
-vulkan = dependency('vulkan', version: '>=1.2.0', required: vulkan_opt) | |
+vulkan = dependency('vulkan', required: vulkan_opt) | |
opengl = dependency('epoxy', version: '>=1.4.0', required: get_option('opengl')) | |
-shaderc = dependency('shaderc', version: '>=2019.1', required: get_option('shaderc')) | |
+shaderc = dependency('shaderc', required: get_option('shaderc')) | |
cross = dependency('spirv-cross-c-shared', version: '>=0.29.0', required: get_option('d3d11')) | |
if opengl.found() | |
diff --git a/src/shaders/colorspace.c b/src/shaders/colorspace.c | |
index 9201eee..24aa0c6 100644 | |
--- a/src/shaders/colorspace.c | |
+++ b/src/shaders/colorspace.c | |
@@ -15,6 +15,7 @@ | |
* License along with libplacebo. If not, see <http://www.gnu.org/licenses/>. | |
*/ | |
+#define _USE_MATH_DEFINES | |
#include <math.h> | |
#include "shaders.h" | |
diff --git a/src/shaders/sampling.c b/src/shaders/sampling.c | |
index 1f4e4a5..6b8a9fc 100644 | |
--- a/src/shaders/sampling.c | |
+++ b/src/shaders/sampling.c | |
@@ -15,6 +15,7 @@ | |
* License along with libplacebo. If not, see <http://www.gnu.org/licenses/>. | |
*/ | |
+#define _USE_MATH_DEFINES | |
#include <math.h> | |
#include "shaders.h" | |
diff --git a/src/utils/upload.c b/src/utils/upload.c | |
index c3efc32..045a3a0 100644 | |
--- a/src/utils/upload.c | |
+++ b/src/utils/upload.c | |
@@ -15,7 +15,7 @@ | |
* License along with libplacebo. If not, see <http://www.gnu.org/licenses/>. | |
*/ | |
-#include <strings.h> | |
+#include <string.h> | |
#include "log.h" | |
#include "common.h" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment