intel: Take an intel_screen pointer in intel_alloc_region_* functions

This commit is contained in:
Kristian Høgsberg
2010-06-03 21:56:21 -04:00
parent 5aaa53e66c
commit 9087ba1280
6 changed files with 32 additions and 37 deletions

View File

@@ -159,7 +159,8 @@ intel_create_image_from_name(__DRIcontext *context,
image->data = loaderPrivate;
cpp = _mesa_get_format_bytes(image->format);
image->region = intel_region_alloc_for_handle(intel, cpp, width, height,
image->region = intel_region_alloc_for_handle(intel->intelScreen,
cpp, width, height,
pitch, name, "image");
if (image->region == NULL) {
FREE(image);