Source/ThirdParty/ANGLE/src/compiler/ShaderLang.cpp
void ShGetInfoLog(const ShHandle handle, char* infoLog)
{
    if (!handle || !infoLog)
        return;

    TShHandleBase* base = static_cast<TShHandleBase*>(handle);
    TCompiler* compiler = base->getAsCompiler();
    if (!compiler) return;

    TInfoSink& infoSink = compiler->getInfoSink();
    strcpy(infoLog, infoSink.info.c_str());
}
//
// Return any compiler log of messages for the application.
//
Return any compiler log of messages for the application.
Return any compiler log of messages for the application .
void ShGetInfoLog(const ShHandle handle, char* infoLog)
{
    if (!handle || !infoLog)
        return;
    TShHandleBase* base = static_cast<TShHandleBase*>(handle);
    TCompiler* compiler = base->getAsCompiler();
    if (!compiler) return;
    TInfoSink& infoSink = compiler->getInfoSink();
    strcpy(infoLog, infoSink.info.c_str());
}
void ShGetInfoLog ( const ShHandle handle , char * infoLog ) { if ( ! handle || ! infoLog ) return ; TShHandleBase * base = static_cast < TShHandleBase * > ( handle ) ; TCompiler * compiler = base -> getAsCompiler ( ) ; if ( ! compiler ) return ; TInfoSink & infoSink = compiler -> getInfoSink ( ) ; strcpy ( infoLog , infoSink . info . c_str ( ) ) ; }
Return any compiler log of messages for the application.
Return any compiler log of messages for the application .