added USE_BONES to texture shader; fixed mesh drawing seg-fault