diff options
Diffstat (limited to 'backends/platform/android/gfx.cpp')
| -rw-r--r-- | backends/platform/android/gfx.cpp | 4 | 
1 files changed, 2 insertions, 2 deletions
diff --git a/backends/platform/android/gfx.cpp b/backends/platform/android/gfx.cpp index cd0fd88484..882dcff9a4 100644 --- a/backends/platform/android/gfx.cpp +++ b/backends/platform/android/gfx.cpp @@ -552,7 +552,7 @@ Graphics::Surface *OSystem_Android::lockScreen() {  	GLTHREADCHECK;  	Graphics::Surface *surface = _game_texture->surface(); -	assert(surface->pixels); +	assert(surface->getPixels());  	return surface;  } @@ -645,7 +645,7 @@ void OSystem_Android::grabOverlay(void *buf, int pitch) {  	assert(surface->format.bytesPerPixel == sizeof(uint16));  	byte *dst = (byte *)buf; -	const byte *src = (const byte *)surface->pixels; +	const byte *src = (const byte *)surface->getPixels();  	uint h = surface->h;  	do {  | 
