Skip to content
Snippets Groups Projects
Commit b6dce758 authored by Lingfeng Yang's avatar Lingfeng Yang Committed by android-build-merger
Browse files

[vulkan] Fix error in ColorBuffer handle extraction am: e637ca5b am: 5496837b

am: 2bb32e39

Change-Id: I93487c6ee47e946a7e9f282c8f585262c2c07441
parents 6f3686e2 2bb32e39
No related branches found
No related tags found
No related merge requests found
...@@ -372,7 +372,9 @@ public: ...@@ -372,7 +372,9 @@ public:
if (!cb_handle) return; if (!cb_handle) return;
VkNativeBufferANDROID* nativeInfoOut = VkNativeBufferANDROID* nativeInfoOut =
reinterpret_cast<VkNativeBufferANDROID*>(local_pCreateInfo); reinterpret_cast<VkNativeBufferANDROID*>(
const_cast<void*>(
local_pCreateInfo->pNext));
if (!nativeInfoOut->handle) { if (!nativeInfoOut->handle) {
ALOGE("FATAL: Local native buffer info not properly allocated!"); ALOGE("FATAL: Local native buffer info not properly allocated!");
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment