From 83073c9522536c32117234c573960b64a9bf13f8 Mon Sep 17 00:00:00 2001 From: Aki Date: Sat, 2 Oct 2021 00:14:14 +0200 Subject: Removed usage of msvc __noop extension --- Opcode/OPC_MeshInterface.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'Opcode/OPC_MeshInterface.cpp') diff --git a/Opcode/OPC_MeshInterface.cpp b/Opcode/OPC_MeshInterface.cpp index e47451e..bfd7180 100644 --- a/Opcode/OPC_MeshInterface.cpp +++ b/Opcode/OPC_MeshInterface.cpp @@ -227,7 +227,7 @@ bool MeshInterface::SetCallback(RequestCallback callback, void* user_data) /////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// bool MeshInterface::SetPointers(const IndexedTriangle* tris, const IcePoint* verts) { - if(!tris || !verts) return SetIceError("MeshInterface::SetPointers: pointer is null", null); + if (!tris || !verts) return SetIceError; // ("MeshInterface::SetPointers: pointer is null", null); mTris = tris; mVerts = verts; @@ -244,8 +244,8 @@ bool MeshInterface::SetPointers(const IndexedTriangle* tris, const IcePoint* ver /////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// bool MeshInterface::SetStrides(udword tri_stride, udword vertex_stride) { - if(tri_stride