diff options
author | unclezeiv <davide.vercelli@gmail.com> | 2008-09-19 00:37:11 +0400 |
---|---|---|
committer | unclezeiv <davide.vercelli@gmail.com> | 2008-09-19 00:37:11 +0400 |
commit | 5f25e52c20298dc7ac7e13bbe62f6055cde89b02 (patch) | |
tree | 76b69359e35ab094e4cd8c5618bd0c397b054be3 /source/blender/src/editmesh_loop.c | |
parent | 02a91ac784d2d4f612dcd3a7772d0f1b26b56166 (diff) |
[#7297] Fix knife visualization on MacMini Intel w/ Intel gfx
Diffstat (limited to 'source/blender/src/editmesh_loop.c')
-rw-r--r-- | source/blender/src/editmesh_loop.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/source/blender/src/editmesh_loop.c b/source/blender/src/editmesh_loop.c index 2c5386b86b6..138dd93e490 100644 --- a/source/blender/src/editmesh_loop.c +++ b/source/blender/src/editmesh_loop.c @@ -519,6 +519,7 @@ static CutCurve *get_mouse_trail(int *len, char mode, char cutmode, struct GHash glDrawBuffer(GL_FRONT); headerprint("(LMB) draw, (MMB) constrain to x/y screen axis, (Enter) cut (with Ctrl to select cut line), (Esc) cancel"); } + bglFlush(); persp(PERSP_WIN); @@ -620,14 +621,14 @@ static CutCurve *get_mouse_trail(int *len, char mode, char cutmode, struct GHash if ((i>1)&&(i!=lasti)) { /*Draw recorded part of curve */ sdrawline((int)curve[i-2].x, (int)curve[i-2].y, (int)curve[i-1].x, (int)curve[i-1].y); - glFlush(); + bglFlush(); } if ((i==lasti)&&(i>0)) { /*Draw rubberband */ glLineWidth(2.0); sdrawXORline((int)curve[i-1].x, (int)curve[i-1].y,(int)mval[0], (int)mval[1]); glLineWidth(1.0); - glFlush(); + bglFlush(); rubberband=1; } lasti=i; |