[Bf-blender-cvs] SVN commit: /data/svn/bf-blender [48686] branches/soc-2012-swiss_cheese/ source/blender/editors/screen/screen_edit.c: GPU Safety Fix: crash when mergine vertically split regions

Jason Wilkins Jason.A.Wilkins at gmail.com
Fri Jul 6 18:48:57 CEST 2012


Revision: 48686
          http://projects.blender.org/scm/viewvc.php?view=rev&root=bf-blender&revision=48686
Author:   jwilkins
Date:     2012-07-06 16:48:57 +0000 (Fri, 06 Jul 2012)
Log Message:
-----------
GPU Safety Fix: crash when mergine vertically split regions

Modified Paths:
--------------
    branches/soc-2012-swiss_cheese/source/blender/editors/screen/screen_edit.c

Modified: branches/soc-2012-swiss_cheese/source/blender/editors/screen/screen_edit.c
===================================================================
--- branches/soc-2012-swiss_cheese/source/blender/editors/screen/screen_edit.c	2012-07-06 14:48:48 UTC (rev 48685)
+++ branches/soc-2012-swiss_cheese/source/blender/editors/screen/screen_edit.c	2012-07-06 16:48:57 UTC (rev 48686)
@@ -779,8 +779,8 @@
 	gpuVertex2f(points[0].x, points[0].y);
 	gpuEnd();
 
-	gpuSingleFilledRectf(points[2].x, points[2].y, points[8].x, points[8].y);
-	gpuSingleFilledRectf(points[6].x, points[6].y, points[9].x, points[9].y);
+	gpuDrawFilledRectf(points[2].x, points[2].y, points[8].x, points[8].y);
+	gpuDrawFilledRectf(points[6].x, points[6].y, points[9].x, points[9].y);
 }
 
 /* draw vertical shape visualizing future joining (up/down direction) */




More information about the Bf-blender-cvs mailing list