A ready to use Vulkan triangle example for D
Alex Parrill via Digitalmars-d-announce
digitalmars-d-announce at puremagic.com
Sun May 29 17:24:12 PDT 2016
On Sunday, 29 May 2016 at 00:42:56 UTC, maik klein wrote:
> 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
Gah, I got them backwards. Colon in D, equals in C.
Could have sworn I checked before I posted that...
More information about the Digitalmars-d-announce
mailing list