diff options
author | Brecht Van Lommel <brechtvanlommel@gmail.com> | 2016-02-05 00:26:46 +0300 |
---|---|---|
committer | Brecht Van Lommel <brechtvanlommel@gmail.com> | 2016-02-06 14:21:41 +0300 |
commit | 6081f6c3870718660e984da3fbfcd44c55abcc20 (patch) | |
tree | afe56aefccd7d13a72277c816861bbd6478d931c /source/blender/makesdna | |
parent | e602fe60c042c7ff0a1ebbe2deab3b347f4ccc86 (diff) |
Fix T47204: selection failing directly after disabling multisample in user prefs.
Now store the multisample setting each window was created with.
Diffstat (limited to 'source/blender/makesdna')
-rw-r--r-- | source/blender/makesdna/DNA_windowmanager_types.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/source/blender/makesdna/DNA_windowmanager_types.h b/source/blender/makesdna/DNA_windowmanager_types.h index baaa2da5d30..14400c84b69 100644 --- a/source/blender/makesdna/DNA_windowmanager_types.h +++ b/source/blender/makesdna/DNA_windowmanager_types.h @@ -190,6 +190,8 @@ typedef struct wmWindow { short modalcursor; /* the current modal cursor */ short grabcursor; /* cursor grab mode */ short addmousemove; /* internal: tag this for extra mousemove event, makes cursors/buttons active on UI switching */ + short multisamples; /* amount of samples for OpenGL FSA the ghost window was created with, if zero no FSA */ + short pad[3]; int winid; /* winid also in screens, is for retrieving this window after read */ |