mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-02-16 17:20:28 +01:00
xorg: fix compilation
This commit is contained in:
parent
17076d700c
commit
ffe8cc6cef
1 changed files with 2 additions and 1 deletions
|
|
@ -113,7 +113,7 @@ struct xorg_shader xorg_shader_construct(struct exa_context *exa,
|
|||
dst_picture);
|
||||
struct xorg_shader shader = {0};
|
||||
|
||||
ureg = ureg_create(exa->ctx, TGSI_PROCESSOR_FRAGMENT);
|
||||
ureg = ureg_create(TGSI_PROCESSOR_FRAGMENT);
|
||||
if (ureg == NULL)
|
||||
return shader;
|
||||
|
||||
|
|
@ -154,4 +154,5 @@ struct xorg_shader xorg_shader_construct(struct exa_context *exa,
|
|||
|
||||
ureg_END(ureg);
|
||||
|
||||
return shader;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue