mirror of
https://github.com/baldurk/renderdoc.git
synced 2026-05-04 09:00:44 +00:00
Remove unintentional use of nullptr
This commit is contained in:
committed by
Baldur Karlsson
parent
3a03625651
commit
bd545cb9b6
@@ -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