From: Mikko Rasa Date: Sat, 30 Oct 2021 21:11:30 +0000 (+0300) Subject: Fix the type of a location variable X-Git-Url: http://git.tdb.fi/?p=libs%2Fgl.git;a=commitdiff_plain;h=1d8cad55b56c072dc7a59e98015d824094f812ea Fix the type of a location variable --- diff --git a/source/core/reflectdata.h b/source/core/reflectdata.h index 33ef1799..7d1b5acf 100644 --- a/source/core/reflectdata.h +++ b/source/core/reflectdata.h @@ -49,7 +49,7 @@ struct ReflectData struct AttributeInfo { std::string name; - unsigned location = -1; + int location = -1; unsigned array_size = 0; DataType type = VOID; };