Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTon Roosendaal <ton@blender.org>2004-08-29 21:05:19 +0400
committerTon Roosendaal <ton@blender.org>2004-08-29 21:05:19 +0400
commit106c3340adfd52447ab42f4150ffbfda060dc461 (patch)
tree27bec1f1637086cabefb03e38c66d2032040b710 /source/blender/radiosity
parent1c5c0485ed022e0c1a8794e8b09969111e889d9c (diff)
Added a flush in radiotisitizer tool, to update draw of shooting patches
while it's doing a 'Go'
Diffstat (limited to 'source/blender/radiosity')
-rw-r--r--source/blender/radiosity/intern/source/raddisplay.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/source/blender/radiosity/intern/source/raddisplay.c b/source/blender/radiosity/intern/source/raddisplay.c
index 4be1ea7f63b..358b1f4fee4 100644
--- a/source/blender/radiosity/intern/source/raddisplay.c
+++ b/source/blender/radiosity/intern/source/raddisplay.c
@@ -227,6 +227,7 @@ void drawpatch_ext(RPatch *patch, unsigned int col)
if(oldsa && oldsa!=curarea) areawinset(oldsa->win);
+ glFlush();
glDrawBuffer(GL_BACK);
if(G.zbuf) glEnable(GL_DEPTH_TEST);
}