mirror of
https://github.com/korenkonder/ReDIVA.git
synced 2026-09-30 10:47:59 +03:00
Fixed builds for BAKE_PNG and BAKE_VIDEO
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user