]> git.tdb.fi Git - libs/gl.git/commitdiff
Fix the type of a location variable
authorMikko Rasa <tdb@tdb.fi>
Sat, 30 Oct 2021 21:11:30 +0000 (00:11 +0300)
committerMikko Rasa <tdb@tdb.fi>
Sat, 30 Oct 2021 22:28:13 +0000 (01:28 +0300)
source/core/reflectdata.h

index 33ef1799ea469805832af7d9752a8888cf555036..7d1b5acf6b745a5aca663dbbf6a6c87828cb9588 100644 (file)
@@ -49,7 +49,7 @@ struct ReflectData
        struct AttributeInfo
        {
                std::string name;
-               unsigned location = -1;
+               int location = -1;
                unsigned array_size = 0;
                DataType type = VOID;
        };