shithub: dav1d

Download patch

ref: 55e1edc7491d90489be9fd57f8a80abe9165cf04
parent: 407c27db02c7ed1732d1fe2a3e89e54bd29427ef
author: Luc Trudeau <[email protected]>
date: Thu Jul 25 09:16:53 EDT 2019

Change SDL include in dav1dplay

sdl2.pc adds -I${includedir}/SDL2 to the command line, so SDL2/ is
clearly expected.

Fixes #289

--- a/tools/dav1dplay.c
+++ b/tools/dav1dplay.c
@@ -32,7 +32,7 @@
 #include <assert.h>
 #include <getopt.h>
 
-#include <SDL2/SDL.h>
+#include <SDL.h>
 
 
 #include "dav1d/dav1d.h"
@@ -166,7 +166,7 @@
 #include <libplacebo/renderer.h>
 #include <libplacebo/utils/upload.h>
 #include <libplacebo/vulkan.h>
-#include <SDL2/SDL_vulkan.h>
+#include <SDL_vulkan.h>
 
 
 /**