Set correct parameters in the gralloc handle
Set the aligned width and height in the gralloc handle. Change-Id: I9cb2d9b681bb022bec2fa7cbe495974865f92a54 CRs-fixed: 306991
This commit is contained in:
		| @@ -404,7 +404,7 @@ int gpu_context_t::alloc_impl(int w, int h, int format, int usage, | ||||
|     if (usage & GRALLOC_USAGE_HW_FB) { | ||||
|         err = gralloc_alloc_framebuffer(size, usage, pHandle); | ||||
|     } else { | ||||
|         err = gralloc_alloc_buffer(size, usage, pHandle, bufferType, format, w, h); | ||||
|         err = gralloc_alloc_buffer(size, usage, pHandle, bufferType, format, alignedw, alignedh); | ||||
|     } | ||||
|  | ||||
|     if (err < 0) { | ||||
|   | ||||
		Reference in New Issue
	
	Block a user