Closed mrossetti closed 2 years ago
In zengl.cpp (currently at line 2124)
PyMemberDef Pipeline_members[] = { {"vertex_count", T_OBJECT_EX, offsetof(Pipeline, vertex_count), 0, NULL}, {"instance_count", T_OBJECT_EX, offsetof(Pipeline, instance_count), 0, NULL}, {"first_vertex", T_OBJECT_EX, offsetof(Pipeline, first_vertex), 0, NULL}, {}, };
should use T_INT instead
T_INT
PyMemberDef Pipeline_members[] = { {"vertex_count", T_INT, offsetof(Pipeline, vertex_count), 0, NULL}, {"instance_count", T_INT, offsetof(Pipeline, instance_count), 0, NULL}, {"first_vertex", T_INT, offsetof(Pipeline, first_vertex), 0, NULL}, {}, };
Thank you for fixing this in https://github.com/szabolcsdombi/zengl/pull/9 I make a release with this fix
In zengl.cpp (currently at line 2124)
should use
T_INT
instead