- cppcheck round #2 cleanup

This commit is contained in:
Mark Vejvoda
2012-09-22 20:37:42 +00:00
parent 1c211e4ce6
commit e0bf4df646
10 changed files with 26 additions and 26 deletions

View File

@@ -220,7 +220,7 @@ void Renderer::init() {
if(glActiveTexture == NULL) {
char szBuf[8096]="";
sprintf(szBuf,"Error: glActiveTexture == NULL\nglActiveTexture is only supported if the GL version is 1.3 or greater,\nor if the ARB_multitexture extension is supported!",extractFileFromDirectoryPath(__FILE__).c_str(),__FUNCTION__,__LINE__);
sprintf(szBuf,"Error: glActiveTexture == NULL\nglActiveTexture is only supported if the GL version is 1.3 or greater,\nor if the ARB_multitexture extension is supported!");
throw megaglest_runtime_error(szBuf);
}