| 19 | } |
| 20 | |
| 21 | void buildGLColorArray(GLubyte* ptr, unsigned int color, unsigned int vertCount) |
| 22 | { |
| 23 | //convert color from ???? to RGBA? |
| 24 | unsigned int colorRGBA; |
| 25 | setColor4bArray((GLubyte *)&colorRGBA, color); |
| 26 | //write color to unsigned int array |
| 27 | GLuint * uiPtr = (GLuint *)ptr; |
| 28 | for(unsigned int i = 0; i < vertCount; i++) |
| 29 | { |
| 30 | uiPtr[i] = colorRGBA; |
| 31 | } |
| 32 | } |
| 33 | |
| 34 | void pushClipRect(Eigen::Vector2i pos, Eigen::Vector2i dim) |
| 35 | { |
no test coverage detected