summaryrefslogtreecommitdiffstats
path: root/app/gfx/gl/gl_context_linux.cc
diff options
context:
space:
mode:
Diffstat (limited to 'app/gfx/gl/gl_context_linux.cc')
-rw-r--r--app/gfx/gl/gl_context_linux.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/app/gfx/gl/gl_context_linux.cc b/app/gfx/gl/gl_context_linux.cc
index a9995d65..d3f8810 100644
--- a/app/gfx/gl/gl_context_linux.cc
+++ b/app/gfx/gl/gl_context_linux.cc
@@ -58,7 +58,7 @@ class PbufferGLContext : public GLContext {
public:
explicit PbufferGLContext()
: context_(NULL),
- pbuffer_(NULL) {
+ pbuffer_(0) {
}
// Initializes the GL context.
@@ -338,7 +338,7 @@ void PbufferGLContext::Destroy() {
if (pbuffer_) {
glXDestroyPbuffer(display, pbuffer_);
- pbuffer_ = NULL;
+ pbuffer_ = 0;
}
}