()
| 685 | |
| 686 | |
| 687 | protected void clearDepthStencil() { |
| 688 | if (!pclearDepth && !pclearStencil) { |
| 689 | depthMask(true); |
| 690 | clearDepth(1); |
| 691 | clearStencil(0); |
| 692 | clear(DEPTH_BUFFER_BIT | STENCIL_BUFFER_BIT); |
| 693 | } else if (!pclearDepth) { |
| 694 | depthMask(true); |
| 695 | clearDepth(1); |
| 696 | clear(DEPTH_BUFFER_BIT); |
| 697 | } else if (!pclearStencil) { |
| 698 | clearStencil(0); |
| 699 | clear(STENCIL_BUFFER_BIT); |
| 700 | } |
| 701 | } |
| 702 | |
| 703 | |
| 704 | protected void clearBackground(float r, float g, float b, float a, |
no test coverage detected