r600g: fix warning in the winsys

This commit is contained in:
Dave Airlie 2010-08-13 09:12:49 +10:00
parent f2804e7062
commit 527ac905f6
1 changed files with 1 additions and 1 deletions

View File

@ -45,7 +45,7 @@ boolean r600_buffer_get_handle(struct radeon *rw,
struct winsys_handle *whandle)
{
struct drm_gem_flink flink;
struct r600_resource* rbuffer = (struct r600_buffer*)buf;
struct r600_resource* rbuffer = (struct r600_resource*)buf;
if (whandle->type == DRM_API_HANDLE_TYPE_SHARED) {
if (!rbuffer->flink) {