Ignore:
Timestamp:
Mar 28, 2013, 12:43:11 PM (7 years ago)
Author:
sam
Message:

base: a few minor style tweaks.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/gpu/vertexbuffer.cpp

    r2591 r2610  
    240240    case MeshPrimitive::Triangles:
    241241        /* FIXME: ignores most of the arguments! */
    242         (void)vbase; (void)vskip; (void)vcount; (void)skip;
     242        UNUSED(vbase, vskip, vcount, skip);
    243243        glDrawElements(GL_TRIANGLES, count, GL_UNSIGNED_SHORT, 0);
    244244        break;
    245245    case MeshPrimitive::TriangleStrips:
    246246        /* FIXME: ignores most of the arguments! */
    247         (void)vbase; (void)vskip; (void)vcount; (void)skip;
     247        UNUSED(vbase, vskip, vcount, skip);
    248248        glDrawElements(GL_TRIANGLE_STRIP, count, GL_UNSIGNED_SHORT, 0);
    249249        break;
    250250    case MeshPrimitive::TriangleFans:
    251251        /* FIXME: ignores most of the arguments! */
    252         (void)vbase; (void)vskip; (void)vcount; (void)skip;
     252        UNUSED(vbase, vskip, vcount, skip);
    253253        glDrawElements(GL_TRIANGLE_FAN, count, GL_UNSIGNED_SHORT, 0);
    254254        break;
    255255    case MeshPrimitive::Points:
    256256        /* FIXME: ignores most of the arguments! */
    257         (void)vbase; (void)vskip; (void)vcount; (void)skip;
     257        UNUSED(vbase, vskip, vcount, skip);
    258258        glDrawElements(GL_POINTS, count, GL_UNSIGNED_SHORT, 0);
    259259        break;
    260260    case MeshPrimitive::Lines:
    261261        /* FIXME: ignores most of the arguments! */
    262         (void)vbase; (void)vskip; (void)vcount; (void)skip;
     262        UNUSED(vbase, vskip, vcount, skip);
    263263        glDrawElements(GL_LINES, count, GL_UNSIGNED_SHORT, 0);
    264264        break;
     
    646646#else
    647647    /* FIXME: is there a way to use "size"? */
    648     (void)size;
     648    UNUSED(size);
    649649    return m_data->m_memory + offset;
    650650#endif
Note: See TracChangeset for help on using the changeset viewer.