mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-09 02:28:10 +02:00
vc4: 0-initialize the screen again.
I typoed this when rebasing the memory leak fixes.
This commit is contained in:
parent
19e05d6898
commit
440075fb50
1 changed files with 1 additions and 1 deletions
|
|
@ -403,7 +403,7 @@ vc4_screen_is_format_supported(struct pipe_screen *pscreen,
|
|||
struct pipe_screen *
|
||||
vc4_screen_create(int fd)
|
||||
{
|
||||
struct vc4_screen *screen = ralloc(NULL, struct vc4_screen);
|
||||
struct vc4_screen *screen = rzalloc(NULL, struct vc4_screen);
|
||||
struct pipe_screen *pscreen;
|
||||
|
||||
pscreen = &screen->base;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue