diff options
author | Brian Paul <[email protected]> | 2014-09-09 09:56:47 -0600 |
---|---|---|
committer | Brian Paul <[email protected]> | 2014-09-11 08:22:55 -0600 |
commit | a46d7579e9b92a48e391ef63be7129a957bf155a (patch) | |
tree | 0620d0a2a479c2936f9dd05e3882e3fc8e5fc1b1 /include/c99 | |
parent | f976b4c1bf2271cf986be8204147ae986380cc91 (diff) |
st/mesa: handle failed context creation for core profile
If the glx/wgl state tracker requested a core profile but the gallium
driver did not support some feature of GL 3.1 or later, we were setting
ctx->Version=0 and then failing the assertion in
_mesa_initialize_exec_table().
With this change we check for ctx->Version=0 and tear down the context
and return NULL from st_create_context().
Reviewed-by: Marek Olšák <[email protected]>
Diffstat (limited to 'include/c99')
0 files changed, 0 insertions, 0 deletions