| 876 | } |
| 877 | |
| 878 | void TextAtlas::Dispose() { |
| 879 | if (tex != -1) { |
| 880 | const GLuint gl_tex = tex; |
| 881 | glDeleteTextures(1, &gl_tex); |
| 882 | tex = -1; |
| 883 | } |
| 884 | } |
| 885 | |
| 886 | TextAtlas::TextAtlas() : tex(-1) { |
| 887 | static const unsigned int kAsciiFirst = 0x20; |
no outgoing calls
no test coverage detected