MCPcopy Create free account
hub / github.com/golang/mobile / onStop

Function onStop

example/basic/main.go:121–126  ·  view source on GitHub ↗
(glctx gl.Context)

Source from the content-addressed store, hash-verified

119}
120
121func onStop(glctx gl.Context) {
122 glctx.DeleteProgram(program)
123 glctx.DeleteBuffer(buf)
124 fps.Release()
125 images.Release()
126}
127
128func onPaint(glctx gl.Context, sz size.Event) {
129 glctx.ClearColor(1, 0, 0, 1)

Callers 1

mainFunction · 0.70

Calls 3

DeleteProgramMethod · 0.65
DeleteBufferMethod · 0.65
ReleaseMethod · 0.65

Tested by

no test coverage detected