Fix #20896: FSAA wasn't disabled properly and still enabled for 3d view
drawing, which apparently still slows things down even if you don't have the window set up to do this.
This commit is contained in:
@@ -2048,8 +2048,8 @@ void view3d_main_area_draw(const bContext *C, ARegion *ar)
|
||||
v3d->zbuf= FALSE;
|
||||
|
||||
/* enables anti-aliasing for 3D view drawing */
|
||||
if (!(U.gameflags & USER_DISABLE_AA))
|
||||
glEnable(GL_MULTISAMPLE_ARB);
|
||||
/*if (!(U.gameflags & USER_DISABLE_AA))
|
||||
glEnable(GL_MULTISAMPLE_ARB);*/
|
||||
|
||||
// needs to be done always, gridview is adjusted in drawgrid() now
|
||||
rv3d->gridview= v3d->grid;
|
||||
@@ -2158,8 +2158,8 @@ void view3d_main_area_draw(const bContext *C, ARegion *ar)
|
||||
BIF_draw_manipulator(C);
|
||||
|
||||
/* Disable back anti-aliasing */
|
||||
if (!(U.gameflags & USER_DISABLE_AA))
|
||||
glDisable(GL_MULTISAMPLE_ARB);
|
||||
/*if (!(U.gameflags & USER_DISABLE_AA))
|
||||
glDisable(GL_MULTISAMPLE_ARB);*/
|
||||
|
||||
if(v3d->zbuf) {
|
||||
v3d->zbuf= FALSE;
|
||||
|
||||
Reference in New Issue
Block a user