icculus / mojoshader

Use Direct3D shaders with other 3D rendering APIs.
https://icculus.org/mojoshader/
zlib License
122 stars 36 forks source link

effects2 testparse /TP compile fixes #24

Closed TheSpydog closed 4 years ago

TheSpydog commented 4 years ago

This fixes compile errors when compiling as C++ in Visual Studio. Apologies for the awkward styling, it's hard to get a lengthy cast inside 80 characters. 😛