~linaro-graphics-wg/compiz-core/linaro-gles2

« back to all changes in this revision

Viewing changes to plugins/opengl/src/paint.cpp

  • Committer: Alexandros Frantzis
  • Date: 2012-03-02 21:15:34 UTC
  • mfrom: (2753.36.239 merging-trunk)
  • Revision ID: alexandros.frantzis@linaro.org-20120302211534-clqnqvqum1h8vaq2
Sync with lp:compiz-core.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1176
1176
    WRAPABLE_HND_FUNCTN_RETURN (bool, glDraw, transform,
1177
1177
                              attrib, region, mask)
1178
1178
 
1179
 
    const CompRegion reg = (mask & PAINT_WINDOW_TRANSFORMED_MASK) ?
1180
 
                           infiniteRegion : region;
 
1179
    const CompRegion &reg = (mask & PAINT_WINDOW_TRANSFORMED_MASK) ?
 
1180
                            infiniteRegion : region;
1181
1181
 
1182
1182
    if (reg.isEmpty ())
1183
1183
        return true;