Changeset 1253


Ignore:
Timestamp:
Apr 21, 2012, 5:01:17 PM (8 years ago)
Author:
sam
Message:

gpu: assume 8-bit unsigned vertex data is expected to be normalised on 0-1.

File:
1 edited

Legend:

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

    r1251 r1253  
    315315        X, X, X, X, /* double */
    316316        X, X, X, X, /* int8_t */
    317         X, X, X, D3DDECLTYPE_UBYTE4, /* uint8_t */
     317        X, X, X, D3DDECLTYPE_UBYTE4N, /* uint8_t */
    318318        X, D3DDECLTYPE_SHORT2N, X, D3DDECLTYPE_SHORT4N, /* int16_t */
    319319        X, D3DDECLTYPE_USHORT2N, X, D3DDECLTYPE_USHORT4N, /* uint16_t */
Note: See TracChangeset for help on using the changeset viewer.