assert caused compile problems too :(

This commit is contained in:
Erwin Coumans 2006-01-18 06:48:28 +00:00
parent 5b8b745cba
commit e3512ab335

@ -201,7 +201,7 @@ void BL_Shader::PrintInfo(int len, unsigned int handle, int* num)
{ {
#ifdef GL_ARB_shader_objects #ifdef GL_ARB_shader_objects
mLog = (char*)MEM_mallocN(sizeof(char)*len, "print_log"); mLog = (char*)MEM_mallocN(sizeof(char)*len, "print_log");
MT_assert(mLog, "Failed to create memory"); //MT_assert(mLog, "Failed to create memory");
bgl::blGetInfoLogARB(handle, len, num, mLog); bgl::blGetInfoLogARB(handle, len, num, mLog);
#endif//GL_ARB_shader_objects #endif//GL_ARB_shader_objects
} }