MCPcopy Create free account
hub / github.com/comaps/comaps / SetFramebuffer

Method SetFramebuffer

dev_sandbox/main_linux.cpp:285–291  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

283 }
284
285 void SetFramebuffer(ref_ptr<dp::BaseFramebuffer> framebuffer) override
286 {
287 if (framebuffer)
288 framebuffer->Bind();
289 else
290 GLFunctions::glBindFramebuffer(0);
291 }
292
293private:
294 GLXFunctions const & m_glx;

Callers

nothing calls this directly

Calls 1

BindMethod · 0.45

Tested by

no test coverage detected