- add hack for vs2010 build (crash on SoftRasterizer);
This commit is contained in:
mtabachenko 2011-01-07 11:25:36 +00:00
parent 75dcdfd020
commit 46ecfcf7fd
1 changed files with 8 additions and 0 deletions

View File

@ -897,7 +897,15 @@ public:
}
while(verts[0]->y == verts[1]->y && verts[0]->x > verts[1]->x)
{
rot_verts<type>();
// hack for VC++ 2010 (bug in compiler optimization?)
// freeze on 3D
// TODO: study it
#if _MSC_VER == 1600
Sleep(0); // nop
#endif
}
}