mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-02-04 04:10:25 +01:00
i965g: Fix use of an uninitialized variable.
This commit is contained in:
parent
9d3a873f42
commit
e0ce4a4a09
1 changed files with 1 additions and 1 deletions
|
|
@ -110,7 +110,7 @@ struct drm_api i965_libdrm_api =
|
|||
struct drm_api *
|
||||
drm_api_create()
|
||||
{
|
||||
struct drm_api *api;
|
||||
struct drm_api *api = NULL;
|
||||
|
||||
if (api == NULL && debug_get_bool_option("BRW_SOFTPIPE", FALSE))
|
||||
api = sw_drm_api_create(&i965_libdrm_api);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue