Changeset 2516


Ignore:
Timestamp:
Feb 26, 2013, 9:43:28 PM (6 years ago)
Author:
sam
Message:

build: various compilation fixes.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/easymesh/easymesh.cpp

    r2507 r2516  
    209209    BUILD_VFLAG(has_texcoord,    VertexUsage::TexCoord,     vflags);
    210210    BUILD_VFLAG_OR(has_texcoord, VertexUsage::TexCoordExt,  vflags);
    211     ASSERT(!vflags, String("Vertex Useage setup is not implemented for : ") + VertexUsage::GetNameList(vflags) + String(", feel free to do so."));
     211    ASSERT(!vflags, "Vertex Usage setup is not implemented for %s, feel free to do so.",
     212           VertexUsage::GetNameList(vflags).C());
    212213
    213214    if (has_position)   gpudata->AddAttribute(gpudata->GetInVertexName(),   VertexUsage::Position, 0);
     
    271272    BUILD_VFLAG_COUNT(has_texcoord,   VertexUsage::TexCoord,    saveflags, flagnb);
    272273    BUILD_VFLAG_COUNT(has_texcoordExt,VertexUsage::TexCoordExt, saveflags, flagnb);
    273     ASSERT(!saveflags, String("Vertex Declaration setup is not implemented for : ") + VertexUsage::GetNameList(vflags) + String(", feel free to do so."));
     274    ASSERT(!vflags, "Vertex Declaration setup is not implemented for %s, feel free to do so.",
     275           VertexUsage::GetNameList(vflags).C());
    274276
    275277    if (has_position && has_normal && has_color && has_texcoord && has_texcoordExt && flagnb == 5)
     
    397399    BUILD_VFLAG(has_texcoord,   VertexUsage::TexCoord,    vflags);
    398400    BUILD_VFLAG_OR(has_texcoord,VertexUsage::TexCoordExt, vflags);
    399     ASSERT(!vflags, String("Vertex Stream setup is not implemented for : ") + VertexUsage::GetNameList(vflags) + String(", feel free to do so."));
     401    ASSERT(!vflags, "Vertex Streamsetup is not implemented for %s, feel free to do so.",
     402           VertexUsage::GetNameList(vflags).C());
    400403
    401404    int idx = 0;
Note: See TracChangeset for help on using the changeset viewer.