Humm may be better to use else if 

    if (ginfo->pic1Texture) {
     ginfo->pic1Texture->Bind(0);
    } else  if (ginfo->pic0Texture) {
   // Draw pic0 if pic1 is not available
   ginfo->pic0Texture->Bind(0);