mirror of
https://github.com/love2d/love.git
synced 2026-08-12 16:40:57 +02:00
Merge pull request #2237 from TurtleP/patch-1
Buffer: update XYf_STPf_RGBAub DataFormat
This commit is contained in:
@@ -341,7 +341,7 @@ std::vector<Buffer::DataDeclaration> Buffer::getCommonFormatDeclaration(CommonFo
|
||||
case CommonFormat::XYf_STPf_RGBAub:
|
||||
return {
|
||||
{ getConstant(ATTRIB_POS), DATAFORMAT_FLOAT_VEC2, 0, ATTRIB_POS },
|
||||
{ getConstant(ATTRIB_TEXCOORD), DATAFORMAT_FLOAT_VEC2, 0, ATTRIB_TEXCOORD },
|
||||
{ getConstant(ATTRIB_TEXCOORD), DATAFORMAT_FLOAT_VEC3, 0, ATTRIB_TEXCOORD },
|
||||
{ getConstant(ATTRIB_COLOR), DATAFORMAT_UNORM8_VEC4, 0, ATTRIB_COLOR },
|
||||
};
|
||||
case CommonFormat::COUNT:
|
||||
|
||||
Reference in New Issue
Block a user