| 1527 | } |
| 1528 | |
| 1529 | void GLES2RenderSystem::unbindGpuProgram(GpuProgramType gptype) |
| 1530 | { |
| 1531 | mProgramManager->setActiveShader(gptype, NULL); |
| 1532 | mActiveParameters[gptype].reset(); |
| 1533 | |
| 1534 | if (gptype == GPT_VERTEX_PROGRAM && mCurrentVertexProgram) |
| 1535 | { |
| 1536 | mCurrentVertexProgram = 0; |
| 1537 | } |
| 1538 | else if (gptype == GPT_FRAGMENT_PROGRAM && mCurrentFragmentProgram) |
| 1539 | { |
| 1540 | mCurrentFragmentProgram = 0; |
| 1541 | } |
| 1542 | RenderSystem::unbindGpuProgram(gptype); |
| 1543 | } |
| 1544 | |
| 1545 | void GLES2RenderSystem::bindGpuProgramParameters(GpuProgramType gptype, const GpuProgramParametersPtr& params, uint16 mask) |
| 1546 | { |
nothing calls this directly
no test coverage detected