| 706 | } |
| 707 | |
| 708 | void SimpleOpenGL3App::drawTexturedRect(float x0, float y0, float x1, float y1, float color[4], float u0, float v0, float u1, float v1, int useRGBA) |
| 709 | { |
| 710 | glEnable(GL_BLEND); |
| 711 | glBlendFunc(GL_SRC_ALPHA, GL_ONE_MINUS_SRC_ALPHA); |
| 712 | |
| 713 | m_primRenderer->drawTexturedRect(x0, y0, x1, y1, color, u0, v0, u1, v1, useRGBA); |
| 714 | glDisable(GL_BLEND); |
| 715 | } |
| 716 | |
| 717 | int SimpleOpenGL3App::registerCubeShape(float halfExtentsX, float halfExtentsY, float halfExtentsZ, int textureIndex, float textureScaling) |
| 718 | { |
no outgoing calls
no test coverage detected