MCPcopy Create free account
hub / github.com/DISTRHO/DPF / puglOnDisplayPrepare

Function puglOnDisplayPrepare

dgl/src/pugl.cpp:428–436  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

426// DGL specific, build-specific drawing prepare
427
428void puglOnDisplayPrepare(PuglView*)
429{
430 #ifdef DGL_OPENGL
431 glClear(GL_COLOR_BUFFER_BIT | GL_DEPTH_BUFFER_BIT);
432 #ifndef DGL_USE_OPENGL3
433 glLoadIdentity();
434 #endif
435 #endif
436}
437
438// --------------------------------------------------------------------------------------------------------------------
439// DGL specific, build-specific fallback resize

Callers 1

onPuglExposeMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected