More code deduplication. Also normalized some line endings.
This commit is contained in:
parent
6c313385ab
commit
07c7687052
7 changed files with 222 additions and 324 deletions
|
@ -538,7 +538,7 @@ bool TransformUnit::GetCurrentSimpleVertices(int count, std::vector<GPUDebugVert
|
|||
memset(&options, 0, sizeof(options));
|
||||
options.expandAllUVtoFloat = false; // TODO: True should be fine here
|
||||
vdecoder.SetVertexType(gstate.vertType, options);
|
||||
TransformDrawEngine::NormalizeVertices((u8 *)(&simpleVertices[0]), (u8 *)(&temp_buffer[0]), Memory::GetPointer(gstate_c.vertexAddr), &vdecoder, indexLowerBound, indexUpperBound, gstate.vertType);
|
||||
DrawEngineCommon::NormalizeVertices((u8 *)(&simpleVertices[0]), (u8 *)(&temp_buffer[0]), Memory::GetPointer(gstate_c.vertexAddr), &vdecoder, indexLowerBound, indexUpperBound, gstate.vertType);
|
||||
|
||||
float world[16];
|
||||
float view[16];
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue