MCPcopy Create free account
hub / github.com/VCVRack/Rack / deleteFramebuffer

Method deleteFramebuffer

src/widget/FramebufferWidget.cpp:65–76  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

63
64
65void FramebufferWidget::deleteFramebuffer() {
66 if (!internal->fb)
67 return;
68
69 // If the framebuffer exists, the Window should exist.
70 assert(APP->window);
71
72 nvgluDeleteFramebuffer(internal->fb);
73 internal->fb = NULL;
74
75 FramebufferWidget_totalPixels -= internal->fbSize.area();
76}
77
78
79void FramebufferWidget::step() {

Callers

nothing calls this directly

Calls 1

areaMethod · 0.80

Tested by

no test coverage detected