(target Enum, fb Framebuffer)
| 1295 | } |
| 1296 | |
| 1297 | func (ctx *context) BindFramebuffer(target Enum, fb Framebuffer) { |
| 1298 | defer func() { |
| 1299 | errstr := ctx.errDrain() |
| 1300 | log.Printf("gl.BindFramebuffer(%v, %v) %v", target, fb, errstr) |
| 1301 | }() |
| 1302 | ctx.enqueueDebug(call{ |
| 1303 | args: fnargs{ |
| 1304 | fn: glfnBindFramebuffer, |
| 1305 | a0: target.c(), |
| 1306 | a1: fb.c(), |
| 1307 | }, |
| 1308 | blocking: true}) |
| 1309 | } |
| 1310 | |
| 1311 | func (ctx *context) BindRenderbuffer(target Enum, rb Renderbuffer) { |
| 1312 | defer func() { |
nothing calls this directly
no test coverage detected