fix compile errors

This commit is contained in:
Konstantin Käfer
2014-07-08 14:53:17 -07:00
parent ec958d68be
commit df65ecaa34
3 changed files with 5 additions and 3 deletions

View File

@@ -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;

View File

@@ -4,6 +4,7 @@
#include <iostream>
#include <sstream>
#include <fstream>
#include <stdexcept>
namespace llmr {
namespace util {

View File

@@ -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("/"));