mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-09 04:38:03 +02:00
radeon: Fix compile warnings, compile errors.
This commit is contained in:
parent
be1dbba0a4
commit
d6fd672bf9
1 changed files with 6 additions and 1 deletions
|
|
@ -79,10 +79,15 @@ struct r300_winsys*
|
|||
radeon_create_r300_winsys(int fd, struct radeon_winsys* old_winsys)
|
||||
{
|
||||
struct r300_winsys* winsys = CALLOC_STRUCT(r300_winsys);
|
||||
struct radeon_cs_manager* csm;
|
||||
|
||||
if (winsys == NULL) {
|
||||
return NULL;
|
||||
}
|
||||
|
||||
do_ioctls(winsys, fd);
|
||||
|
||||
struct radeon_cs_manager* csm = radeon_cs_manager_gem_ctor(fd);
|
||||
csm = radeon_cs_manager_gem_ctor(fd);
|
||||
|
||||
winsys->cs = radeon_cs_create(csm, 1024 * 64 / 4);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue