A ready to use Vulkan triangle example for D
maik klein via Digitalmars-d-announce
digitalmars-d-announce at puremagic.com
Sat May 28 17:42:56 PDT 2016
On Sunday, 29 May 2016 at 00:37:54 UTC, Alex Parrill wrote:
> On Saturday, 28 May 2016 at 19:32:58 UTC, maik klein wrote:
>> Btw does this even work? I think the struct initializers have
>> to be
>>
>> Foo foo = { someVar: 1 };
>>
>> `:` instead of a `=`
>>
>> I didn't do this because I actually got autocompletion for
>> `vertexInputStateCreateInfo.` and that meant less typing for
>> me.
>
> No, its equals. In C it's a colon, which is a tad confusing.
https://dpaste.dzfl.pl/bd29c970050a
More information about the Digitalmars-d-announce
mailing list