Browse Source

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

legacy
Sam Hocevar sam 12 years ago
parent
commit
bc5bf62886
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      src/gpu/vertexbuffer.cpp

+ 1
- 1
src/gpu/vertexbuffer.cpp View File

@@ -314,7 +314,7 @@ void VertexDeclaration::Initialize()
D3DDECLTYPE_FLOAT4, /* float */
X, X, X, X, /* double */
X, X, X, X, /* int8_t */
X, X, X, D3DDECLTYPE_UBYTE4, /* uint8_t */
X, X, X, D3DDECLTYPE_UBYTE4N, /* uint8_t */
X, D3DDECLTYPE_SHORT2N, X, D3DDECLTYPE_SHORT4N, /* int16_t */
X, D3DDECLTYPE_USHORT2N, X, D3DDECLTYPE_USHORT4N, /* uint16_t */
X, X, X, X, /* int32_t */


Loading…
Cancel
Save