MCPcopy
hub / github.com/KilledByAPixel/LittleJS / postProcessContextLost

Method postProcessContextLost

plugins/postProcess.js:96–101  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

94 glContext.vertexAttribPointer(pLocation, 2, glContext.FLOAT, false, vertexByteStride, 0);
95 }
96 function postProcessContextLost()
97 {
98 postProcess.shader = undefined;
99 postProcess.texture = undefined;
100 LOG('PostProcessPlugin: WebGL context lost');
101 }
102 function postProcessContextRestored()
103 {
104 initPostProcess();

Callers

nothing calls this directly

Calls 1

LOGFunction · 0.50

Tested by

no test coverage detected