Fixed builds for BAKE_PNG and BAKE_VIDEO

This commit is contained in:
korenkonder
2024-10-16 01:33:09 +03:00
parent 8d093df919
commit e0102db41b
4 changed files with 34 additions and 11 deletions
+11
View File
@@ -95,6 +95,17 @@
#include <timeapi.h>
#include <Volk/volk.h>
#ifndef USE_OPENGL
#if BAKE_PNG
#undef BAKE_PNG
#define BAKE_PNG (0)
#endif
#if BAKE_VIDEO
#undef BAKE_VIDEO
#define BAKE_VIDEO (0)
#endif
#endif
#ifdef DEBUG
#define RENDER_DEBUG 1
#else
-11
View File
@@ -29,14 +29,3 @@
#undef BAKE_PNG
#elif BAKE_PNG
#endif
#ifndef USE_OPENGL
#if BAKE_PNG
#undef BAKE_PNG
#define BAKE_PNG (0)
#endif
#if BAKE_VIDEO
#undef BAKE_VIDEO
#define BAKE_VIDEO (0)
#endif
#endif
+11
View File
@@ -8,6 +8,17 @@
#include "config.hpp"
#include "input.hpp"
#ifndef USE_OPENGL
#if BAKE_PNG
#undef BAKE_PNG
#define BAKE_PNG (0)
#endif
#if BAKE_VIDEO
#undef BAKE_VIDEO
#define BAKE_VIDEO (0)
#endif
#endif
/*
Bit / Name
0 JVS_TEST
+12
View File
@@ -30,6 +30,18 @@
#include "../KKdLib/msgpack.hpp"
#include "../KKdLib/sort.hpp"
#include "../KKdLib/str_utils.hpp"
#ifndef USE_OPENGL
#if BAKE_PNG
#undef BAKE_PNG
#define BAKE_PNG (0)
#endif
#if BAKE_VIDEO
#undef BAKE_VIDEO
#define BAKE_VIDEO (0)
#endif
#endif
#if BAKE_X_PACK
#include "../KKdLib/waitable_timer.hpp"
#endif