ANDROID: Use nullptr where appropriate
This commit is contained in:
parent
8321056107
commit
40a036ac0b
2 changed files with 6 additions and 7 deletions
|
@ -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();
|
||||
|
||||
|
|
|
@ -48,7 +48,7 @@
|
|||
#include "backends/platform/android/touchcontrols.h"
|
||||
|
||||
TouchControls::TouchControls() :
|
||||
_arrows_texture(NULL),
|
||||
_arrows_texture(nullptr),
|
||||
_screen_width(0),
|
||||
_screen_height(0) {
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue