~ubuntu-branches/ubuntu/trusty/manaplus/trusty-proposed

« back to all changes in this revision

Viewing changes to src/gui/widgets/scrollarea.cpp

  • Committer: Package Import Robot
  • Author(s): Patrick Matthäi
  • Date: 2013-09-17 10:35:51 UTC
  • mfrom: (1.1.10)
  • Revision ID: package-import@ubuntu.com-20130917103551-az7p3nz9jgxwqjfn
Tags: 1.3.9.15-1
New upstream release.

Show diffs side-by-side

added added

removed removed

Lines of Context:
23
23
#include "gui/widgets/scrollarea.h"
24
24
 
25
25
#include "client.h"
26
 
#include "configuration.h"
27
26
#include "graphicsvertexes.h"
28
27
 
29
 
#include "utils/dtor.h"
30
 
 
31
28
#include "debug.h"
32
29
 
33
30
int ScrollArea::instances = 0;
262
259
    BLOCK_START("ScrollArea::draw")
263
260
    if (mVBarVisible || mHBarVisible)
264
261
    {
265
 
        if (openGLMode != 2)
 
262
        if (openGLMode != RENDER_SAFE_OPENGL)
266
263
        {
267
264
            if (!mOpaque)
268
265
                updateCalcFlag(graphics);
363
360
 
364
361
        updateCalcFlag(graphics);
365
362
 
366
 
        if (openGLMode != 2)
 
363
        if (openGLMode != RENDER_SAFE_OPENGL)
367
364
        {
368
365
            if (mRedraw)
369
366
            {