mirror of
https://github.com/baldurk/renderdoc.git
synced 2026-05-06 10:00:40 +00:00
Metal-CPP: correct NS::View::setLayer parameter
Change parameter to be "CA::Layer*" instead of "void*"
This commit is contained in:
committed by
Baldur Karlsson
parent
92fdfa097f
commit
32d4856a0c
@@ -2907,6 +2907,11 @@ _NS_INLINE void NS::Application::terminate( const Object* pSender )
|
||||
|
||||
#include <CoreGraphics/CGGeometry.h>
|
||||
|
||||
namespace CA
|
||||
{
|
||||
class Layer;
|
||||
};
|
||||
|
||||
namespace NS
|
||||
{
|
||||
class View : public NS::Referencing< View >
|
||||
@@ -2914,7 +2919,7 @@ namespace NS
|
||||
public:
|
||||
View* init( CGRect frame );
|
||||
void setWantsLayer( bool wantsLayer );
|
||||
void setLayer( const void* layer );
|
||||
void setLayer( const CA::Layer* layer );
|
||||
};
|
||||
}
|
||||
|
||||
@@ -2928,7 +2933,7 @@ _NS_INLINE void NS::View::setWantsLayer( bool wantsLayer )
|
||||
Object::sendMessage< void >( this, _NS_PRIVATE_SEL( setWantsLayer_ ), wantsLayer );
|
||||
}
|
||||
|
||||
_NS_INLINE void NS::View::setLayer( const void* layer )
|
||||
_NS_INLINE void NS::View::setLayer( const CA::Layer* layer )
|
||||
{
|
||||
Object::sendMessage< void >( this, _NS_PRIVATE_SEL( setLayer_ ), layer );
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user