make headless rendering work again by setting the correct fbo
This commit is contained in:
@@ -150,8 +150,10 @@ private:
|
||||
// ready for rendering.
|
||||
std::atomic_flag is_rendered = ATOMIC_FLAG_INIT;
|
||||
|
||||
private:
|
||||
public:
|
||||
View &view;
|
||||
|
||||
private:
|
||||
Transform transform;
|
||||
TransformState state;
|
||||
|
||||
|
||||
@@ -20,6 +20,12 @@ public:
|
||||
// renderer setup since the render thread doesn't switch the contexts.
|
||||
virtual void make_active() = 0;
|
||||
|
||||
// Returns the base framebuffer object, if any, and 0 if using the system
|
||||
// provided framebuffer.
|
||||
virtual unsigned int root_fbo() {
|
||||
return 0;
|
||||
}
|
||||
|
||||
protected:
|
||||
llmr::Map *map = nullptr;
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user