Commit d6fd672b authored by Corbin Simpson's avatar Corbin Simpson

radeon: Fix compile warnings, compile errors.

parent be1dbba0
......@@ -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);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment