mirror of
https://github.com/baldurk/renderdoc.git
synced 2026-05-06 01:50:38 +00:00
Fix compile warnings/errors in metal-cpp.h
Forward declare MTL::Drawable to avoid conflicts. "Drawable" is a common type name
This commit is contained in:
committed by
Baldur Karlsson
parent
b633ec78f8
commit
c4edcdbf66
@@ -4511,6 +4511,7 @@ _MTL_PRIVATE_DEF_SEL(writeMask,
|
||||
|
||||
namespace MTL
|
||||
{
|
||||
class Drawable;
|
||||
using DrawablePresentedHandler = void (^)(class Drawable*);
|
||||
|
||||
using DrawablePresentedHandlerFunction = std::function<void(class Drawable*)>;
|
||||
|
||||
Reference in New Issue
Block a user