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:
authorBrecht Van Lommel <brechtvanlommel@pandora.be>2010-01-08 12:30:36 +0300
committerBrecht Van Lommel <brechtvanlommel@pandora.be>2010-01-08 12:30:36 +0300
commitccb54eff2e0593c393412649dbf99f82ff19aead (patch)
treea0e612b2c4ad7aec518685c0114f40ace129bff3 /source/blender/gpu
parentb8ca67ca3345f0c1bf6021b4f44de2256c144a6a (diff)
FSAA: properly disable it for first window draw, remove obsolete backbuffer
disable code, and only enable it for 3d drawing in the 3d view.
Diffstat (limited to 'source/blender/gpu')
-rw-r--r--source/blender/gpu/intern/gpu_draw.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/source/blender/gpu/intern/gpu_draw.c b/source/blender/gpu/intern/gpu_draw.c
index 1353e151792..74b9f362939 100644
--- a/source/blender/gpu/intern/gpu_draw.c
+++ b/source/blender/gpu/intern/gpu_draw.c
@@ -1313,6 +1313,8 @@ void GPU_state_init(void)
glFrontFace(GL_CCW);
glCullFace(GL_BACK);
glDisable(GL_CULL_FACE);
+
+ glDisable(GL_MULTISAMPLE_ARB);
}
/* debugging aid */