Skip to content

Commit

Permalink
this should work
Browse files Browse the repository at this point in the history
  • Loading branch information
SolDev69 committed Nov 20, 2023
1 parent 0a1dc52 commit bdc62e0
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/gallium/auxiliary/target-helpers/inline_sw_helper.h
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,8 @@ struct pipe_screen *fd_screen_create(int fd, const struct pipe_screen_config *co
if(kbase_device_fd == -1) {
printf("FD_OSMESA: Failed to open kbase device: %s", strerror(errno));
}else {
screen = fd_screen_create(kbase_device_fd, NULL, NULL);
struct pipe_screen_config dummy_cfg;
screen = fd_screen_create(kbase_device_fd, &dummy_cfg, NULL);
}
}
#else
Expand Down

0 comments on commit bdc62e0

Please sign in to comment.