csyonghe / Spire

Other
174 stars 22 forks source link

Hello example #46

Closed tangent-vector closed 7 years ago

tangent-vector commented 7 years ago

This PR pulls together two commits, simply because the second one depends on the first.

The first one fixes a "how did that ever work?" sort of issue where we combined extern "C" linkage with C++ function overloaded.

The second commit adds a "hello world" example for Spire+D3D11. That one probably has more things worth discussing.

If desired, I can submit these as distinct PRs.