Drewol / unnamed-sdvx-clone

A game based on K-Shoot MANIA and Sound Voltex
MIT License
795 stars 96 forks source link

Make immutable array const #577

Closed Hinara closed 2 years ago

Drewol commented 2 years ago

I can't get this to compile (windows, vs2022) due to line 61 in Material.cpp:

    // Defined in Shader.cpp
    extern uint32 shaderStageMap[];

just adding const to that doesn't solve it so I'll have to look into it more or just move some things around

Hinara commented 2 years ago

Shoud be good now, does it work under windows ?

Drewol commented 2 years ago

yes that seems to have done it, lgtm