()
| 644 | |
| 645 | |
| 646 | protected void clearDepthStencil() { |
| 647 | if (!pclearDepth && !pclearStencil) { |
| 648 | depthMask(true); |
| 649 | clearDepth(1); |
| 650 | clearStencil(0); |
| 651 | clear(DEPTH_BUFFER_BIT | STENCIL_BUFFER_BIT); |
| 652 | } else if (!pclearDepth) { |
| 653 | depthMask(true); |
| 654 | clearDepth(1); |
| 655 | clear(DEPTH_BUFFER_BIT); |
| 656 | } else if (!pclearStencil) { |
| 657 | clearStencil(0); |
| 658 | clear(STENCIL_BUFFER_BIT); |
| 659 | } |
| 660 | } |
| 661 | |
| 662 | |
| 663 | protected void clearBackground(float r, float g, float b, float a, |
no test coverage detected