diff options
author | marha <marha@users.sourceforge.net> | 2013-11-29 11:25:56 +0100 |
---|---|---|
committer | marha <marha@users.sourceforge.net> | 2013-11-29 11:25:56 +0100 |
commit | c043f97a8572e1f509251288d8bcd70d0fb96770 (patch) | |
tree | 8ebbc0f82f5c5b1d6453420963ca7d71b6161e0c /mesalib/src/mesa/drivers/dri | |
parent | 4042ec939a2cdc8473479c900871c4c8c0b4e818 (diff) | |
download | vcxsrv-c043f97a8572e1f509251288d8bcd70d0fb96770.tar.gz vcxsrv-c043f97a8572e1f509251288d8bcd70d0fb96770.tar.bz2 vcxsrv-c043f97a8572e1f509251288d8bcd70d0fb96770.zip |
fontconfig mesa xserver git update 29 Nov 2013
xserver commit d695cb7fb6bb8fd159a332d902673edbbd2237d7
fontconfig commit a5fd7912ff8c7bc72d2cdbd0038c7ff0c968831f
mesa commit fb5f5b81883f360dcbbf407a0f6f5606bc0c0495
Diffstat (limited to 'mesalib/src/mesa/drivers/dri')
-rw-r--r-- | mesalib/src/mesa/drivers/dri/common/dri_util.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/mesalib/src/mesa/drivers/dri/common/dri_util.c b/mesalib/src/mesa/drivers/dri/common/dri_util.c index 44e47f94f..0bce77ea9 100644 --- a/mesalib/src/mesa/drivers/dri/common/dri_util.c +++ b/mesalib/src/mesa/drivers/dri/common/dri_util.c @@ -407,8 +407,10 @@ driCreateContextAttribs(__DRIscreen *screen, int api, mesa_api = API_OPENGL_CORE; } - if ((flags & ~(__DRI_CTX_FLAG_DEBUG | __DRI_CTX_FLAG_FORWARD_COMPATIBLE)) - != 0) { + const uint32_t allowed_flags = (__DRI_CTX_FLAG_DEBUG + | __DRI_CTX_FLAG_FORWARD_COMPATIBLE + | __DRI_CTX_FLAG_ROBUST_BUFFER_ACCESS); + if (flags & ~allowed_flags) { *error = __DRI_CTX_ERROR_UNKNOWN_FLAG; return NULL; } |