Fix compilation issues.

This commit is contained in:
Rinnegatamante
2020-10-19 21:27:19 +02:00
parent 23698c4ee3
commit 0685473569
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -237,7 +237,7 @@ defaultInstanceCB(Geometry *geo, InstanceDataHeader *header, bool32 reinstance)
// Fill vertex buffer
//
uint8 *verts = gVertexBuffer;
uint8 *verts = (uint8*)gVertexBuffer;
// Positions
if(!reinstance || geo->lockedSinceInst&Geometry::LOCKVERTICES){
+1 -1
View File
@@ -131,7 +131,7 @@ skinInstanceCB(Geometry *geo, InstanceDataHeader *header, bool32 reinstance)
// Fill vertex buffer
//
uint8 *verts = gVertexBuffer;
uint8 *verts = (uint8*)gVertexBuffer;
// Positions
if(!reinstance || geo->lockedSinceInst&Geometry::LOCKVERTICES){