We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a026378 commit 96f232aCopy full SHA for 96f232a
1 file changed
src/backend.cpp
@@ -105,7 +105,7 @@ void DevTools::renderDrawData(ImDrawData* draw_data) {
105
auto* list = draw_data->CmdLists[i];
106
107
// convert vertex coords to cocos space
108
- for(size_t j = 0; j < list->VtxBuffer.size(); j++) {
+ for(int j = 0; j < list->VtxBuffer.size(); j++) {
109
auto point = toCocos(list->VtxBuffer[j].pos);
110
list->VtxBuffer[j].pos = ImVec2(point.x, point.y);
111
}
0 commit comments