Pārlūkot izejas kodu

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

legacy
Sam Hocevar sam pirms 12 gadiem
vecāks
revīzija
bc5bf62886
1 mainītis faili ar 1 papildinājumiem un 1 dzēšanām
  1. +1
    -1
      src/gpu/vertexbuffer.cpp

+ 1
- 1
src/gpu/vertexbuffer.cpp Parādīt failu

@@ -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 */


Notiek ielāde…
Atcelt
Saglabāt