-
-
Notifications
You must be signed in to change notification settings - Fork 1.2k
/
NULLGL.cc
21 lines (17 loc) · 851 Bytes
/
NULLGL.cc
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
#include "GLView.h"
GLView::GLView() {}
void GLView::setRenderer(Renderer *r) {}
void GLView::initializeGL() {}
void GLView::resizeGL(int w, int h) {}
void GLView::setCamera(const Camera& cam) {assert(false && "not implemented");}
void GLView::paintGL() {}
void GLView::showSmallaxes(const Color4f& col) {}
void GLView::showAxes(const Color4f& col) {}
void GLView::showCrosshairs(const Color4f& col) {}
void GLView::setColorScheme(const ColorScheme& cs){assert(false && "not implemented");}
void GLView::setColorScheme(const std::string& cs) {assert(false && "not implemented");}
#include "system-gl.h"
double gl_version() { return -1; }
std::string gl_dump() { return std::string("GL Renderer: NULLGL\n"); }
std::string gl_extensions_dump() { return std::string("NULLGL Extensions"); }
bool report_glerror(const char *function) { return false; }