mirror of
https://github.com/baldurk/renderdoc.git
synced 2026-10-16 09:09:26 +00:00
Remove unintentional use of nullptr
This commit is contained in:
1 parent
3a03625651
commit
bd545cb9b6
1 file changed
+2
-2
@@ -132,7 +132,7 @@ void MyAppDelegate::CreateWindow(int width, int height, const char *title)
|
||||
view->setLayer((CA::Layer *)CA::MetalLayer::layer());
|
||||
|
||||
_pWindow->setTitle(NS::String::string(title, NS::StringEncoding::UTF8StringEncoding));
|
||||
_pWindow->makeKeyAndOrderFront(nullptr);
|
||||
_pWindow->makeKeyAndOrderFront(NULL);
|
||||
}
|
||||
|
||||
NS::View *MyAppDelegate::GetContentView()
|
||||
@@ -147,7 +147,7 @@ NS::Window *MyAppDelegate::GetWindow()
|
||||
|
||||
AppleWindow::~AppleWindow()
|
||||
{
|
||||
pAppDelegate = nullptr;
|
||||
pAppDelegate = NULL;
|
||||
}
|
||||
|
||||
AppleWindow::AppleWindow(int width, int height, const char *title) : GraphicsWindow(title)
|
||||
|
||||
Reference in new issue
Block a user