Procházet zdrojové kódy

ps3: support for texture coordinates on the PS3.

legacy
Sam Hocevar sam před 13 roky
rodič
revize
004d21a4c4
1 změnil soubory, kde provedl 4 přidání a 0 odebrání
  1. +4
    -0
      src/gpu/vertexbuffer.cpp

+ 4
- 0
src/gpu/vertexbuffer.cpp Zobrazit soubor

@@ -426,6 +426,10 @@ void VertexDeclaration::SetStream(VertexBuffer *vb, ShaderAttrib attr1,
glVertexPointer(tlut[type_index].size, tlut[type_index].type,
stride, (GLvoid const *)(uintptr_t)offset);
break;
case VertexUsage::TexCoord:
glTexCoordPointer(tlut[type_index].size, tlut[type_index].type,
stride, (GLvoid const *)(uintptr_t)offset);
break;
case VertexUsage::Normal:
glNormalPointer(tlut[type_index].type,
stride, (GLvoid const *)(uintptr_t)offset);


Načítá se…
Zrušit
Uložit