Преглед изворни кода

ps3: support for texture coordinates on the PS3.

legacy
Sam Hocevar sam пре 13 година
родитељ
комит
004d21a4c4
1 измењених фајлова са 4 додато и 0 уклоњено
  1. +4
    -0
      src/gpu/vertexbuffer.cpp

+ 4
- 0
src/gpu/vertexbuffer.cpp Прегледај датотеку

@@ -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);


Loading…
Откажи
Сачувај