Skip to content

Commit 5aae383

Browse files
committed
Fix wrong memcpy address
1 parent 184a2e2 commit 5aae383

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/layer_bootstrap.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ XrResult thisLayer_xrCreateApiLayerInstance(const XrInstanceCreateInfo* info, co
5252

5353
//Prepare to call this function down the layer chain
5454
XrApiLayerCreateInfo newApiLayerCreateInfo;
55-
memcpy(&newApiLayerCreateInfo, &apiLayerInfo, sizeof(newApiLayerCreateInfo));
55+
memcpy(&newApiLayerCreateInfo, apiLayerInfo, sizeof(newApiLayerCreateInfo));
5656
newApiLayerCreateInfo.nextInfo = apiLayerInfo->nextInfo->next;
5757

5858
XrInstanceCreateInfo instanceCreateInfo = *info;

0 commit comments

Comments
 (0)