building again on mac with the switch
This commit is contained in:
parent
a5b4223979
commit
400a5e55d7
5 changed files with 15 additions and 5 deletions
|
|
@ -182,7 +182,12 @@ EmuInfo::init(const ContextInfo &contextInfo)
|
|||
|
||||
// Form Regal extension string from the set
|
||||
|
||||
extensions = ::print_detail::join(extensionsSet,string(" "));
|
||||
extensions = "";
|
||||
for( std::set<std::string>::iterator i = extensionsSet.begin(); i != extensionsSet.end(); ++i ) {
|
||||
extensions += *i;
|
||||
extensions += " ";
|
||||
}
|
||||
extensions.erase( extensions.rfind( " " ) );
|
||||
|
||||
Info("Regal vendor : ",vendor);
|
||||
Info("Regal renderer : ",renderer);
|
||||
|
|
|
|||
|
|
@ -108,7 +108,7 @@ void
|
|||
Statistics::log(const char *name, const GLuint count)
|
||||
{
|
||||
if (count)
|
||||
Info("Statistics ",left(name,30,' '),right(count,6,' '));
|
||||
Info("Statistics ",print_left(name,30,' '),print_right(count,6,' '));
|
||||
}
|
||||
|
||||
REGAL_NAMESPACE_END
|
||||
|
|
|
|||
|
|
@ -184,7 +184,12 @@ EmuInfo::init(const ContextInfo &contextInfo)
|
|||
|
||||
// Form Regal extension string from the set
|
||||
|
||||
extensions = ::print_detail::join(extensionsSet,string(" "));
|
||||
extensions = "";
|
||||
for( std::set<std::string>::iterator i = extensionsSet.begin(); i != extensionsSet.end(); ++i ) {
|
||||
extensions += *i;
|
||||
extensions += " ";
|
||||
}
|
||||
extensions.erase( extensions.rfind( " " ) );
|
||||
|
||||
Info("Regal vendor : ",vendor);
|
||||
Info("Regal renderer : ",renderer);
|
||||
|
|
|
|||
|
|
@ -85,7 +85,7 @@ T print_hex( const T & t, const U & u ) {
|
|||
#define print_array( ... ) std::string(" implement print_array() ")
|
||||
#define print_optional( ... ) std::string(" implement print_optional() ")
|
||||
#define print_raw( ... ) std::string( " implement print_raw() " )
|
||||
#define print_trim( ... ) std::string( " implement trim() " )
|
||||
#define print_trim( a, ... ) (a)
|
||||
#define print_right( a, ... ) (a)
|
||||
#define print_left( a, ... ) (a)
|
||||
|
||||
|
|
|
|||
|
|
@ -5105,7 +5105,7 @@ void
|
|||
Statistics::log(const char *name, const GLuint count)
|
||||
{
|
||||
if (count)
|
||||
Info("Statistics ",left(name,30,' '),right(count,6,' '));
|
||||
Info("Statistics ",print_left(name,30,' '),print_right(count,6,' '));
|
||||
}
|
||||
|
||||
REGAL_NAMESPACE_END
|
||||
|
|
|
|||
Loading…
Reference in a new issue