summaryrefslogtreecommitdiffstats
path: root/src/gallium/Android.mk
diff options
context:
space:
mode:
authorBrian Paul <[email protected]>2014-09-09 09:56:47 -0600
committerBrian Paul <[email protected]>2014-09-11 08:22:55 -0600
commita46d7579e9b92a48e391ef63be7129a957bf155a (patch)
tree0620d0a2a479c2936f9dd05e3882e3fc8e5fc1b1 /src/gallium/Android.mk
parentf976b4c1bf2271cf986be8204147ae986380cc91 (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 'src/gallium/Android.mk')
0 files changed, 0 insertions, 0 deletions