From c2edcd48794b210c9b3fcd439830211350f8d140 Mon Sep 17 00:00:00 2001 From: Ton Roosendaal Date: Mon, 31 Jul 2006 19:23:42 +0000 Subject: 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. --- source/blender/src/transform.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'source/blender/src/transform.c') 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); } } -- cgit v1.2.3