forked from bartvdbraak/blender
Don't use auto vectorization for MinGW-w64. It may be a source for
trouble. Also fixed a few harmless warnings.
This commit is contained in:
parent
14f9f167b2
commit
adfa7c8afa
@ -1246,10 +1246,6 @@ elseif(WIN32)
|
||||
set(PLATFORM_CFLAGS "-pipe -funsigned-char -fno-strict-aliasing")
|
||||
|
||||
if(WITH_MINGW64)
|
||||
#We need to take care though not to have these on debug builds because they may play funky with gdb
|
||||
if(CMAKE_BUILD_TYPE MATCHES "Release")
|
||||
set(PLATFORM_CFLAGS "${PLATFORM_CFLAGS} -mmmx -ftree-vectorize")
|
||||
endif()
|
||||
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -fpermissive")
|
||||
set(PLATFORM_LINKLIBS "${PLATFORM_LINKLIBS} -lpthread")
|
||||
|
||||
|
@ -472,7 +472,8 @@ static void paint_draw_alpha_overlay(UnifiedPaintSettings *ups, Brush *brush,
|
||||
quad.xmax = BLI_rcti_size_x(&vc->ar->winrct);
|
||||
quad.ymax = BLI_rcti_size_y(&vc->ar->winrct);
|
||||
}
|
||||
else if (brush->mtex.brush_map_mode == MTEX_MAP_MODE_STENCIL) {
|
||||
/* Stencil code goes here */
|
||||
else {
|
||||
quad.xmin = -brush->stencil_dimension[0];
|
||||
quad.ymin = -brush->stencil_dimension[1];
|
||||
quad.xmax = brush->stencil_dimension[0];
|
||||
|
@ -2412,8 +2412,8 @@ static void createTransUVs(bContext *C, TransInfo *t)
|
||||
BMFace *efa;
|
||||
BMLoop *l;
|
||||
BMIter iter, liter;
|
||||
UvElementMap *elementmap;
|
||||
char *island_enabled;
|
||||
UvElementMap *elementmap = NULL;
|
||||
char *island_enabled = NULL;
|
||||
int count = 0, countsel = 0, count_rejected = 0;
|
||||
int propmode = t->flag & T_PROP_EDIT;
|
||||
int propconnected = t->flag & T_PROP_CONNECTED;
|
||||
|
Loading…
Reference in New Issue
Block a user