~cairo-dock-team/cairo-dock-core/popup_from_shortkey

« back to all changes in this revision

Viewing changes to src/gldit/cairo-dock-image-buffer.c

  • Committer: Fabrice Rey
  • Date: 2013-06-04 22:58:28 UTC
  • Revision ID: fabounet03@gmail.com-20130604225828-x8lg3mv9135jr114
updated various parts of the core to the new API (new icons type, 'delete' method, simplified functions, etc)

Show diffs side-by-side

added added

removed removed

Lines of Context:
538
538
        else if (s_iFboId != 0)
539
539
        {
540
540
                // on attache la texture au FBO.
541
 
                if (pContainer->iWidth == 1 && pContainer->iHeight == 1)  // container not yet fully resized
 
541
                ///if (pContainer->iWidth == 1 && pContainer->iHeight == 1)  // container not yet fully resized
 
542
                if (pContainer->iWidth < pImage->iWidth || pContainer->iHeight < pImage->iHeight)
542
543
                {
543
544
                        return FALSE;
544
545
                }