diff options
author | Brecht Van Lommel <brechtvanlommel@pandora.be> | 2010-02-01 22:22:54 +0300 |
---|---|---|
committer | Brecht Van Lommel <brechtvanlommel@pandora.be> | 2010-02-01 22:22:54 +0300 |
commit | 58b89bbac30a65ae8a7bc0f2063422670e3ec0b1 (patch) | |
tree | 001c571c47d72ab995cf5bb80375f9121bd825d7 /source/blender | |
parent | 676cc6d6c81fa52cb1dac4b6907eee2a996803b4 (diff) |
Fix sculpt mode drawing performance regression, happened on at least
NVidia/Linux. Disabling GL_MULTISAMPLE apparently makes things go much
slower even though we're not using it, why is a mystery to me.
Diffstat (limited to 'source/blender')
-rw-r--r-- | source/blender/gpu/intern/gpu_draw.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/source/blender/gpu/intern/gpu_draw.c b/source/blender/gpu/intern/gpu_draw.c index 74b9f362939..fdc0eb7148c 100644 --- a/source/blender/gpu/intern/gpu_draw.c +++ b/source/blender/gpu/intern/gpu_draw.c @@ -1314,7 +1314,9 @@ void GPU_state_init(void) glCullFace(GL_BACK); glDisable(GL_CULL_FACE); - glDisable(GL_MULTISAMPLE_ARB); + /* calling this makes drawing very slow when AA is not set up in ghost + on Linux/NVIDIA. + glDisable(GL_MULTISAMPLE); */ } /* debugging aid */ |