mirror of
https://github.com/jpd002/Play-.git
synced 2025-04-28 21:57:57 +03:00
9 lines
153 B
Text
9 lines
153 B
Text
![]() |
#include "LayerFromView.h"
|
||
|
#include <AppKit/AppKit.h>
|
||
|
|
||
|
void* GetLayerFromView(void* viewPtr)
|
||
|
{
|
||
|
NSView* view = (NSView*)viewPtr;
|
||
|
return [view layer];
|
||
|
}
|