| 105 | } |
| 106 | |
| 107 | bool Program::isUsed() const |
| 108 | { |
| 109 | GLuint currentProgram = static_cast<GLuint>(getInteger(GL_CURRENT_PROGRAM)); |
| 110 | |
| 111 | return currentProgram > 0 && currentProgram == id(); |
| 112 | } |
| 113 | |
| 114 | bool Program::isLinked() const |
| 115 | { |
nothing calls this directly
no test coverage detected