~ubuntu-branches/ubuntu/natty/libsdl1.2/natty

« back to all changes in this revision

Viewing changes to src/video/directfb/SDL_DirectFB_yuv.c

  • Committer: Bazaar Package Importer
  • Author(s): Matthias Klose
  • Date: 2007-12-05 20:29:43 UTC
  • mfrom: (1.1.6 upstream)
  • Revision ID: james.westby@ubuntu.com-20071205202943-ryogi07hodn5cdif
Tags: 1.2.12-1ubuntu1
* Merge with Debian; remaining changes:
  - Remove svgalib support.
  - Prefer libgl1-mesa-dev build-dependency over xlibmesa-gl-dev.
  - Build for lpia as for i386.
* Link using -Wl,-Bsymbolic-functions.

Show diffs side-by-side

added added

removed removed

Lines of Context:
118
118
      break;
119
119
    }
120
120
 
 
121
  /* Need to set coop level or newer DirectFB versions will fail here. */
 
122
  ret = layer->SetCooperativeLevel (layer, DLSCL_ADMINISTRATIVE);
 
123
  if (ret)
 
124
    {
 
125
      SetDirectFBerror("IDirectFBDisplayLayer::SetCooperativeLevel() failed", ret);
 
126
      layer->Release (layer);
 
127
      return ret;
 
128
    }
 
129
 
121
130
  ret = layer->SetConfiguration (layer, &conf);
122
131
  if (ret)
123
132
    {