A ready to use Vulkan triangle example for D

Alex Parrill via Digitalmars-d-announce digitalmars-d-announce at puremagic.com
Sat May 28 17:37:54 PDT 2016


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.


More information about the Digitalmars-d-announce mailing list