intel: Use X tiling for DRM EGL Images
authorKristian Høgsberg <krh@bitplanet.net>
Sat, 23 Apr 2011 01:05:40 +0000 (21:05 -0400)
committerKristian Høgsberg <krh@bitplanet.net>
Tue, 26 Apr 2011 17:26:28 +0000 (13:26 -0400)
src/mesa/drivers/dri/intel/intel_screen.c

index 64a21a147f0d5e1c43047cc619a14ce6b7aa6275..8b3cb7cd1523a0244d8d42826b30e26d5c617327 100644 (file)
@@ -247,7 +247,7 @@ intel_create_image(__DRIscreen *screen,
    cpp = _mesa_get_format_bytes(image->format);
 
    image->region =
-      intel_region_alloc(intelScreen, I915_TILING_NONE,
+      intel_region_alloc(intelScreen, I915_TILING_X,
                         cpp, width, height, GL_TRUE);
    if (image->region == NULL) {
       FREE(image);