mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-02-13 19:53:48 +00:00
Includes a formatting fix for the SimPath change to make it compatible with DX11.
This commit is contained in:
parent
1db77b728f
commit
b9d8df5a4a
2 changed files with 3 additions and 3 deletions
|
|
@ -273,7 +273,7 @@ DefineEngineMethod( Path, getPathId, S32, (),,
|
|||
//--------------------------------------------------------------------------
|
||||
|
||||
GFXStateBlockRef Marker::smStateBlock;
|
||||
GFXVertexBufferHandle<GFXVertexPC> Marker::smVertexBuffer;
|
||||
GFXVertexBufferHandle<GFXVertexPCT> Marker::smVertexBuffer;
|
||||
GFXPrimitiveBufferHandle Marker::smPrimitiveBuffer;
|
||||
|
||||
static Point3F wedgePoints[4] = {
|
||||
|
|
@ -295,7 +295,7 @@ void Marker::initGFXResources()
|
|||
smStateBlock = GFX->createStateBlock(d);
|
||||
|
||||
smVertexBuffer.set(GFX, 4, GFXBufferTypeStatic);
|
||||
GFXVertexPC* verts = smVertexBuffer.lock();
|
||||
GFXVertexPCT* verts = smVertexBuffer.lock();
|
||||
verts[0].point = wedgePoints[0] * 1.25f;
|
||||
verts[1].point = wedgePoints[1] * 1.25f;
|
||||
verts[2].point = wedgePoints[2] * 1.25f;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue