tex->set_min_filter(GL::NEAREST);
tex->set_mag_filter(GL::NEAREST);
unsigned char data[6] = { color>>16, color>>8, color, color2>>16, color2>>8, color2 };
tex->set_min_filter(GL::NEAREST);
tex->set_mag_filter(GL::NEAREST);
unsigned char data[6] = { color>>16, color>>8, color, color2>>16, color2>>8, color2 };