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