MCPcopy Create free account
hub / github.com/WayfireWM/wayfire / ensure_depth_buffer

Method ensure_depth_buffer

src/output/render-manager.cpp:524–534  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

522{
523 public:
524 void ensure_depth_buffer(int fb, int width, int height)
525 {
526 /* If the backend doesn't have its own framebuffer, then the
527 * framebuffer is created with a depth buffer. */
528 if (required_counter <= 0)
529 {
530 return;
531 }
532
533 attach_buffer(fb, width, height);
534 }
535
536 void frame_done()
537 {

Callers 1

update_bound_outputMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected