mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-01-29 18:10:23 +01:00
st/xorg: Make sure struct is fully initialized.
gcc complained about a missing initializer.
This commit is contained in:
parent
b0ddfe8a3d
commit
9c449502a2
1 changed files with 1 additions and 1 deletions
|
|
@ -465,7 +465,7 @@ struct xorg_shader xorg_shaders_get(struct xorg_shaders *sc,
|
|||
unsigned vs_traits,
|
||||
unsigned fs_traits)
|
||||
{
|
||||
struct xorg_shader shader = {0};
|
||||
struct xorg_shader shader = { NULL, NULL };
|
||||
void *vs, *fs;
|
||||
|
||||
vs = shader_from_cache(sc->exa->pipe, PIPE_SHADER_VERTEX,
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue