diff options
author | Emil Velikov <[email protected]> | 2011-07-11 15:42:15 +0100 |
---|---|---|
committer | Brian Paul <[email protected]> | 2011-07-12 08:30:15 -0600 |
commit | 1ab5e1524258042e26c769221f61da16403d0cf6 (patch) | |
tree | c85dfe5c796cca4a862367a2dcb182f19b463f74 /src/gallium/drivers/i965 | |
parent | 4ef9c3d21b65ff0a9280d3f3ad4c45f0442c6c4f (diff) |
st/mesa: check if _mesa_create_context() returns NULL
In some cases _mesa_create_context() can return NULL an in the mesa
state tracker, we do not concider the case, which may cause issues
within st_create_context_priv()
This patch adds a simple check (similar to the one in the dri drivers)
Signed-off-by: Emil Velikov <[email protected]>
Signed-off-by: Brian Paul <[email protected]>
Diffstat (limited to 'src/gallium/drivers/i965')
0 files changed, 0 insertions, 0 deletions