Browse Source

One good boy point :^)

master
Riyyi 4 years ago
parent
commit
6806743b12
  1. 2
      inferno/src/inferno/render/buffer.cpp

2
inferno/src/inferno/render/buffer.cpp

@ -203,7 +203,7 @@ namespace Inferno {
element.getTypeGL(), element.getTypeGL(),
element.getNormalized() ? GL_TRUE : GL_FALSE, element.getNormalized() ? GL_TRUE : GL_FALSE,
vertexBuffer->getLayout().getStride(), vertexBuffer->getLayout().getStride(),
(const void*)element.getOffset()); reinterpret_cast<const void*>(element.getOffset()));
index++; index++;
} }

Loading…
Cancel
Save