Skip to content

Commit

Permalink
Fix linked list example after rebaseing.
Browse files Browse the repository at this point in the history
  • Loading branch information
s-perron committed Dec 7, 2023
1 parent dbb3af4 commit f1668ee
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion proposals/0010-vk-buffer-ref.md
Original file line number Diff line number Diff line change
Expand Up @@ -196,7 +196,7 @@ float4 MainPs(void) : SV_Target0
{
block_p g_p(g_PushConstants.root);
g_p = g_p.Get().next;
if (!(bool)g_p) // Null pointer test
if ((uint64_t)g_pi == 0) // Null pointer test
return float4(0.0,0.0,0.0,0.0);
return g_p.Get().x
}
Expand Down

0 comments on commit f1668ee

Please sign in to comment.