aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/gpu/gl/debug/GrFrameBufferObj.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/gpu/gl/debug/GrFrameBufferObj.h')
-rw-r--r--src/gpu/gl/debug/GrFrameBufferObj.h18
1 files changed, 9 insertions, 9 deletions
diff --git a/src/gpu/gl/debug/GrFrameBufferObj.h b/src/gpu/gl/debug/GrFrameBufferObj.h
index 794450c136..42a0effe07 100644
--- a/src/gpu/gl/debug/GrFrameBufferObj.h
+++ b/src/gpu/gl/debug/GrFrameBufferObj.h
@@ -22,15 +22,15 @@ public:
GrFrameBufferObj()
: GrFakeRefObj()
, fBound(false)
- , fColorBuffer(NULL)
- , fDepthBuffer(NULL)
- , fStencilBuffer(NULL) {
+ , fColorBuffer(nullptr)
+ , fDepthBuffer(nullptr)
+ , fStencilBuffer(nullptr) {
}
virtual ~GrFrameBufferObj() {
- fColorBuffer = NULL;
- fDepthBuffer = NULL;
- fStencilBuffer = NULL;
+ fColorBuffer = nullptr;
+ fDepthBuffer = nullptr;
+ fStencilBuffer = nullptr;
}
void setBound() { fBound = true; }
@@ -48,9 +48,9 @@ public:
void deleteAction() override {
- setColor(NULL);
- setDepth(NULL);
- setStencil(NULL);
+ setColor(nullptr);
+ setDepth(nullptr);
+ setStencil(nullptr);
this->INHERITED::deleteAction();
}