- Timestamp:
- Nov 7, 2014, 5:23:02 PM (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/vendor/nokia/qt/current/src/opengl/qglbuffer.cpp
r844 r1156 1 1 /**************************************************************************** 2 2 ** 3 ** Copyright (C) 2011 Nokia Corporation and/or its subsidiary(-ies). 4 ** All rights reserved. 5 ** Contact: Nokia Corporation ([email protected]) 3 ** Copyright (C) 2014 Digia Plc and/or its subsidiary(-ies). 4 ** Contact: http://www.qt-project.org/legal 6 5 ** 7 6 ** This file is part of the QtOpenGL module of the Qt Toolkit. 8 7 ** 9 8 ** $QT_BEGIN_LICENSE:LGPL$ 10 ** Commercial Usage11 ** Licensees holding valid Qt Commerciallicenses may use this file in12 ** accordance with the Qt Commercial License Agreement provided with the9 ** Commercial Usage 10 ** Licensees holding valid licenses may use this file in 11 ** accordance with the greement provided with the 13 12 ** Software or, alternatively, in accordance with the terms contained in 14 ** a written agreement between you and Nokia. 13 ** a written agreement between you and Digia. For licensing terms and 14 ** conditions see http://qt.digia.com/licensing. For further information 15 ** use the contact form at http://qt.digia.com/contact-us. 15 16 ** 16 17 ** GNU Lesser General Public License Usage … … 22 23 ** will be met: http://www.gnu.org/licenses/old-licenses/lgpl-2.1.html. 23 24 ** 24 ** In addition, as a special exception, Nokia gives you certain additional25 ** rights. These rights are described in the Nokia Qt LGPL Exception25 ** In addition, as a special exception, ia gives you certain additional 26 ** rights. These rights are described in the ia Qt LGPL Exception 26 27 ** version 1.1, included in the file LGPL_EXCEPTION.txt in this package. 27 28 ** … … 34 35 ** met: http://www.gnu.org/copyleft/gpl.html. 35 36 ** 36 ** If you have questions regarding the use of this file, please contact 37 ** Nokia at [email protected]. 37 ** 38 38 ** $QT_END_LICENSE$ 39 39 ** … … 209 209 if (d_ptr != other.d_ptr) { 210 210 other.d_ptr->ref.ref(); 211 if (!d_ptr->ref.deref()) 211 if (!d_ptr->ref.deref()) 212 212 destroy(); 213 214 213 215 d_ptr = other.d_ptr; 214 216 } … … 544 546 if (!glMapBufferARB) 545 547 return 0; 548 549 550 551 546 552 return glMapBufferARB(d->type, access); 547 553 }
Note:
See TracChangeset
for help on using the changeset viewer.