~chasedouglas/ubuntu/maverick/xorg-server/670016

« back to all changes in this revision

Viewing changes to hw/xfree86/dri2/dri2.c

  • Committer: Bazaar Package Importer
  • Author(s): Bryce Harrington
  • Date: 2009-10-09 12:01:52 UTC
  • mfrom: (0.5.3 upstream)
  • mto: This revision was merged to the branch mainline in revision 150.
  • Revision ID: james.westby@ubuntu.com-20091009120152-iykzyanu8rodkvpq
Tags: upstream-1.6.4
ImportĀ upstreamĀ versionĀ 1.6.4

Show diffs side-by-side

added added

removed removed

Lines of Context:
190
190
    int need_fake_front = 0;
191
191
    int have_fake_front = 0;
192
192
    int front_format = 0;
193
 
    const int dimensions_match = (pDraw->width == pPriv->width)
 
193
    int dimensions_match;
 
194
    int i;
 
195
 
 
196
    if (!pPriv) {
 
197
        *width = pDraw->width;
 
198
        *height = pDraw->height;
 
199
        *out_count = 0;
 
200
        return NULL;
 
201
    }
 
202
 
 
203
    dimensions_match = (pDraw->width == pPriv->width)
194
204
        && (pDraw->height == pPriv->height);
195
 
    int i;
196
 
 
197
205
 
198
206
    buffers = xalloc((count + 1) * sizeof(buffers[0]));
199
207