| 241 | } |
| 242 | |
| 243 | void OpenGLText::SetColour(agi::Color col) { |
| 244 | r = col.r / 255.f; |
| 245 | g = col.g / 255.f; |
| 246 | b = col.b / 255.f; |
| 247 | a = col.a / 255.f; |
| 248 | } |
| 249 | |
| 250 | void OpenGLText::Print(const std::string &text, int x, int y) { |
| 251 | glEnable(GL_BLEND); |
no outgoing calls
no test coverage detected