mirror of
https://github.com/scratchfoundation/bgfx.git
synced 2025-04-24 04:53:28 -04:00
Cleanup.
This commit is contained in:
parent
489a087390
commit
b41446d4a3
1 changed files with 4 additions and 5 deletions
|
@ -150,11 +150,10 @@ namespace bgfx { namespace mtl
|
|||
{
|
||||
NSError* error;
|
||||
id<MTLLibrary> lib = [m_obj newLibraryWithSource:@(_source) options:nil error:&error];
|
||||
//TODO: sometimes prints null as paremeter. string is too large
|
||||
BX_WARN(NULL == error
|
||||
, "Shader compilation failed: %s"
|
||||
, error.localizedDescription.UTF8String
|
||||
);
|
||||
// BX_WARN(NULL == error
|
||||
// , "Shader compilation failed: %s"
|
||||
// , [error.localizedDescription UTF8String]
|
||||
// );
|
||||
return lib;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue