mirror of
https://github.com/rrika/cdcEngineDXHR.git
synced 2024-11-23 13:39:54 +00:00
fix ENABLE_IMGUI=0 build
This commit is contained in:
parent
380a996486
commit
3fc3b41f09
@ -13,7 +13,7 @@
|
||||
#include "cdcFile/FileUserBufferReceiver.h"
|
||||
|
||||
extern "C" {
|
||||
#include "../miniz/miniz.h"
|
||||
#include "miniz/miniz.h"
|
||||
}
|
||||
|
||||
extern char pathPrefix[36];
|
||||
|
@ -2,7 +2,7 @@
|
||||
#include "Sample.h"
|
||||
|
||||
#include <cstdio>
|
||||
#include "../fmod/fmod_errors.h"
|
||||
#include "fmod/fmod_errors.h"
|
||||
|
||||
namespace cdc {
|
||||
|
||||
|
@ -1,4 +1,5 @@
|
||||
#include <cstdio>
|
||||
#include <cstring>
|
||||
#include "config.h"
|
||||
#include "SceneLayer.h" // for StreamingCallback
|
||||
#include "stream.h"
|
||||
|
@ -124,6 +124,7 @@ public:
|
||||
|
||||
DRMIndex drmIndex;
|
||||
|
||||
#if ENABLE_IMGUI
|
||||
struct DRMExplorer {
|
||||
|
||||
void draw(bool *showWindow) {
|
||||
@ -209,6 +210,7 @@ struct DRMExplorer {
|
||||
ImGui::End();
|
||||
}
|
||||
} drmexplorer;
|
||||
#endif
|
||||
|
||||
int spinnyCube(HWND window) {
|
||||
|
||||
@ -599,6 +601,9 @@ int spinnyCube(HWND window) {
|
||||
mainMenuMovieController.movieInstance = &mainMenuInstance;
|
||||
|
||||
mainMenuInstance.init();
|
||||
#else
|
||||
mouseLook = true;
|
||||
mouseKeyboard->setCursorGrab(true);
|
||||
#endif
|
||||
|
||||
std::unordered_map<cdc::IRenderTerrain*, cdc::CommonRenderTerrainInstance *> renderTerrainInstances;
|
||||
|
Loading…
Reference in New Issue
Block a user