diff --git a/backends/graphics3d/android/texture.cpp b/backends/graphics3d/android/texture.cpp index d05e20cc45f..613b815b757 100644 --- a/backends/graphics3d/android/texture.cpp +++ b/backends/graphics3d/android/texture.cpp @@ -203,8 +203,8 @@ const Graphics::PixelFormat &GLESBaseTexture::getPixelFormat() const { GLESTexture::GLESTexture(GLenum glFormat, GLenum glType, Graphics::PixelFormat pixelFormat) : GLESBaseTexture(glFormat, glType, pixelFormat), - _pixels(0), - _buf(0) { + _pixels(nullptr), + _buf(nullptr) { } GLESTexture::~GLESTexture() { @@ -340,10 +340,9 @@ GLES565Texture::~GLES565Texture() { GLESFakePaletteTexture::GLESFakePaletteTexture(GLenum glFormat, GLenum glType, Graphics::PixelFormat pixelFormat) : GLESBaseTexture(glFormat, glType, pixelFormat), - _palette(0), - _pixels(0), - _buf(0) -{ + _palette(nullptr), + _pixels(nullptr), + _buf(nullptr) { _palettePixelFormat = pixelFormat; _fake_format = Graphics::PixelFormat::createFormatCLUT8(); diff --git a/backends/platform/android/touchcontrols.cpp b/backends/platform/android/touchcontrols.cpp index b59e7737d22..f6d9ea046cc 100644 --- a/backends/platform/android/touchcontrols.cpp +++ b/backends/platform/android/touchcontrols.cpp @@ -48,7 +48,7 @@ #include "backends/platform/android/touchcontrols.h" TouchControls::TouchControls() : - _arrows_texture(NULL), + _arrows_texture(nullptr), _screen_width(0), _screen_height(0) { }