Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(141)

Unified Diff: src/gpu/vk/GrVkRenderPass.h

Issue 1758003002: Replace some nullptrs with VK_NULL_HANDLE (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: Oh, I see. It's one of those. Created 4 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « src/gpu/vk/GrVkProgram.cpp ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/gpu/vk/GrVkRenderPass.h
diff --git a/src/gpu/vk/GrVkRenderPass.h b/src/gpu/vk/GrVkRenderPass.h
index d460741d5e5ae916c41c77084e1f62f97d4f9fd2..2f7e2875427ba05edce0ff6f2bb4b631bd0513e0 100644
--- a/src/gpu/vk/GrVkRenderPass.h
+++ b/src/gpu/vk/GrVkRenderPass.h
@@ -19,7 +19,7 @@ class GrVkRenderTarget;
class GrVkRenderPass : public GrVkResource {
public:
- GrVkRenderPass() : INHERITED(), fRenderPass(nullptr) {}
+ GrVkRenderPass() : INHERITED(), fRenderPass(VK_NULL_HANDLE) {}
void initSimple(const GrVkGpu* gpu, const GrVkRenderTarget& target);
struct AttachmentsDescriptor {
@@ -87,4 +87,4 @@ private:
GR_MAKE_BITFIELD_OPS(GrVkRenderPass::AttachmentFlags);
-#endif
+#endif
« no previous file with comments | « src/gpu/vk/GrVkProgram.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698