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:
authorDamien Plisson <damien.plisson@yahoo.fr>2010-01-08 17:40:47 +0300
committerDamien Plisson <damien.plisson@yahoo.fr>2010-01-08 17:40:47 +0300
commit05af8dfe53728ed3276485fa04fcf9a592bdc203 (patch)
tree928dcdc0e6a5cd8bee3e7cdd396773f42f028ea4 /source/blender/windowmanager/intern
parenta868e8623ca7218dfa363962e178293f4a8f0690 (diff)
Disable anti-aliasing initialization, was causing GL_SELECT issues
NVidia (at least) GL drivers don't provide correct picking through GL_SELECT when the GL context is initialized with sample buffers. So we can't have FSAA on for now as it breaks border,lasso,.. select.
Diffstat (limited to 'source/blender/windowmanager/intern')
-rw-r--r--source/blender/windowmanager/intern/wm_window.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/source/blender/windowmanager/intern/wm_window.c b/source/blender/windowmanager/intern/wm_window.c
index 61e6063329a..94248fb392c 100644
--- a/source/blender/windowmanager/intern/wm_window.c
+++ b/source/blender/windowmanager/intern/wm_window.c
@@ -307,13 +307,14 @@ static void wm_window_add_ghostwindow(wmWindowManager *wm, char *title, wmWindow
inital_state += macPrefState;
}
#endif
-
+ /* Disable AA for now, as GL_SELECT (used for border, lasso, ... select)
+ doesn't work well when AA is initialized, even if not used. */
ghostwin= GHOST_CreateWindow(g_system, title,
win->posx, posy, win->sizex, win->sizey,
inital_state,
GHOST_kDrawingContextTypeOpenGL,
0 /* no stereo */,
- 4 /* 4x AA */);
+ 0 /* no AA */);
if (ghostwin) {