src/gldraw.cpp

changeset 513
29eb671b34f6
parent 512
adab82ab13a5
child 516
d3373bc7ca3b
equal deleted inserted replaced
512:adab82ab13a5 513:29eb671b34f6
300 // Warn about the unknown colors, but only once. 300 // Warn about the unknown colors, but only once.
301 for (short i : g_warnedColors) 301 for (short i : g_warnedColors)
302 if (obj->color() == i) 302 if (obj->color() == i)
303 return; 303 return;
304 304
305 print ("%1: Unknown color %2!\n", __func__, obj->color()); 305 log ("%1: Unknown color %2!\n", __func__, obj->color());
306 g_warnedColors << obj->color(); 306 g_warnedColors << obj->color();
307 return; 307 return;
308 } 308 }
309 } 309 }
310 310

mercurial