diff options
author | Ton Roosendaal <ton@blender.org> | 2006-07-31 23:23:42 +0400 |
---|---|---|
committer | Ton Roosendaal <ton@blender.org> | 2006-07-31 23:23:42 +0400 |
commit | c2edcd48794b210c9b3fcd439830211350f8d140 (patch) | |
tree | bd0a192c20bd6e861b39e1ae319e463d9718b8b2 /source/blender/src/transform.c | |
parent | e168d67b3205977777715f143554a15f259c0a40 (diff) |
Siggraph show commit!
- pending commit for OSX intel systems, with intel graphics. These now call
an extra swapbuffers after glFlush(). Code is ifdeffed, and doesnt affect
other systems.
- show-off commit: option to have transparent nodes over the composite
result. Only draws Image for active Viewer Node now, and image doesnt
translate nor zoom (which isnt bad though).
Set in themes the alpha color of "node backdrop" to make nodes
transparent.
Diffstat (limited to 'source/blender/src/transform.c')
-rwxr-xr-x | source/blender/src/transform.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/source/blender/src/transform.c b/source/blender/src/transform.c index f450628b640..76e6c7eaf51 100755 --- a/source/blender/src/transform.c +++ b/source/blender/src/transform.c @@ -64,6 +64,7 @@ #include "BIF_editview.h" /* arrows_move_cursor */ #include "BIF_gl.h" +#include "BIF_glutil.h" #include "BIF_mywindow.h" #include "BIF_resources.h" #include "BIF_screen.h" @@ -135,7 +136,7 @@ static void helpline(TransInfo *t, float *vec) setlinestyle(0); persp(PERSP_VIEW); - glFlush(); // flush display for frontbuffer + bglFlush(); // flush display for frontbuffer glDrawBuffer(GL_BACK); } } |