fix compile errors
This commit is contained in:
@@ -29,14 +29,14 @@ private:
|
||||
|
||||
|
||||
private:
|
||||
#ifdef LLMR_USE_CGL
|
||||
#if LLMR_USE_CGL
|
||||
CGLContextObj gl_context;
|
||||
GLuint fbo = 0;
|
||||
GLuint fbo_depth_stencil = 0;
|
||||
GLuint fbo_color = 0;
|
||||
#endif
|
||||
|
||||
#ifdef LLMR_USE_GLX
|
||||
#if LLMR_USE_GLX
|
||||
GLXContext gl_context = nullptr;
|
||||
XVisualInfo *x_info = nullptr;
|
||||
Display *x_display = nullptr;
|
||||
|
||||
@@ -4,6 +4,7 @@
|
||||
#include <iostream>
|
||||
#include <sstream>
|
||||
#include <fstream>
|
||||
#include <stdexcept>
|
||||
|
||||
namespace llmr {
|
||||
namespace util {
|
||||
|
||||
@@ -5,9 +5,10 @@
|
||||
#include <llmr/util/io.hpp>
|
||||
#include <llmr/util/std.hpp>
|
||||
|
||||
#include "../common/headless_view.hpp"
|
||||
#include <rapidjson/document.h>
|
||||
|
||||
#include "../common/headless_view.hpp"
|
||||
|
||||
const std::string base_directory = []{
|
||||
std::string fn = __FILE__;
|
||||
fn.erase(fn.find_last_of("/"));
|
||||
|
||||
Reference in New Issue
Block a user