This commit is contained in:
Shinovon 2026-05-01 15:38:34 +05:00
parent 33a8324d08
commit 2e77ead661
2 changed files with 4 additions and 16 deletions

View file

@ -19,20 +19,6 @@ namespace gles1 {
uint32 im2DVbo, im2DIbo;
static AttribDesc im2dattribDesc[3] = {
{ ATTRIB_POS, GL_FLOAT, GL_FALSE, 4,
sizeof(Im2DVertex), 0 },
{ ATTRIB_COLOR, GL_UNSIGNED_BYTE, GL_TRUE, 4,
#ifdef S60V5
dcl[i].offset = OFFSET_OF(VertexConstantData, texCoors);
#else
dcl[i].offset = offsetof(VertexConstantData, texCoors);
#endif
{ ATTRIB_TEXCOORDS0, GL_FLOAT, GL_FALSE, 2,
sizeof(Im2DVertex), offsetof(Im2DVertex, u) },
};
static int primTypeMap[] = {
GL_POINTS, // invalid
GL_LINES,