ref: 239b87f071cd016376b196617a896683591b7626
parent: da69c3ce010cfe0cd456d3ac0f6cd0e1c60def97
author: Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
date: Sat May 16 11:57:36 EDT 2020
Fix swapped define guards in dav1dplay’s libplacebo renderer Signed-off-by: Marvin Scholz <epirat07@gmail.com>
--- a/examples/dp_renderer_placebo.c
+++ b/examples/dp_renderer_placebo.c
@@ -544,7 +544,7 @@
SDL_UnlockMutex(rd_priv_ctx->lock);
}
-#ifdef HAVE_PLACEBO_OPENGL
+#ifdef HAVE_PLACEBO_VULKAN
const Dav1dPlayRenderInfo rdr_placebo_vk = {
.name = "placebo-vk",
.create_renderer = placebo_renderer_create_vk,
@@ -558,7 +558,7 @@
const Dav1dPlayRenderInfo rdr_placebo_vk = { NULL };
#endif
-#ifdef HAVE_PLACEBO_VULKAN
+#ifdef HAVE_PLACEBO_OPENGL
const Dav1dPlayRenderInfo rdr_placebo_gl = {
.name = "placebo-gl",
.create_renderer = placebo_renderer_create_gl,