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 |