-----------------------------------------------------------------------
| 777 | } |
| 778 | //----------------------------------------------------------------------- |
| 779 | void RenderSystem::unbindGpuProgram(GpuProgramType gptype) |
| 780 | { |
| 781 | // mark clip planes dirty if changed (programmable can change space) |
| 782 | if(gptype == GPT_VERTEX_PROGRAM && !mClipPlanes.empty() && mProgramBound[gptype]) |
| 783 | mClipPlanesDirty = true; |
| 784 | |
| 785 | mProgramBound[gptype] = false; |
| 786 | } |
| 787 | //----------------------------------------------------------------------- |
| 788 | bool RenderSystem::isGpuProgramBound(GpuProgramType gptype) |
| 789 | { |
no test coverage detected