| 168 | } |
| 169 | |
| 170 | std::string getString( GLenum name ) |
| 171 | { |
| 172 | const GLubyte* s = glGetString( name ); |
| 173 | |
| 174 | if( s ) |
| 175 | return std::string( reinterpret_cast<const char*>( s ) ); |
| 176 | else |
| 177 | return std::string(); |
| 178 | } |
| 179 | |
| 180 | std::string getVersionString() |
| 181 | { |
no test coverage detected