forked from bartvdbraak/blender
quiet spacenav output on linux for regular builds, ifdef signed int for msvc openmp.
This commit is contained in:
parent
cdc6793dd8
commit
33a9cafc3b
@ -58,8 +58,11 @@ GHOST_NDOFManagerX11::GHOST_NDOFManagerX11(GHOST_System& sys)
|
||||
}
|
||||
}
|
||||
else {
|
||||
#ifdef DEBUG
|
||||
/* annoying for official builds, just adds noise and most prople don't own these */
|
||||
puts("ndof: spacenavd not found");
|
||||
/* This isn't a hard error, just means the user doesn't have a 3D mouse. */
|
||||
#endif
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -1301,7 +1301,11 @@ void BKE_maskrasterize_buffer(MaskRasterHandle *mr_handle,
|
||||
const unsigned int width, const unsigned int height,
|
||||
float *buffer)
|
||||
{
|
||||
int y;
|
||||
#ifdef _MSC_VER
|
||||
int y; /* msvc requires signed for some reason */
|
||||
#else
|
||||
unsigned int y;
|
||||
#endif
|
||||
|
||||
#pragma omp parallel for private(y)
|
||||
for (y = 0; y < height; y++) {
|
||||
|
Loading…
Reference in New Issue
Block a user