Changeset 649 for branches/vendor/nokia/qt/current/demos/boxes/scene.cpp
- Timestamp:
- Mar 7, 2010, 11:52:24 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/vendor/nokia/qt/current/demos/boxes/scene.cpp
r556 r649 1 1 /**************************************************************************** 2 2 ** 3 ** Copyright (C) 20 09Nokia Corporation and/or its subsidiary(-ies).3 ** Copyright (C) 20 Nokia Corporation and/or its subsidiary(-ies). 4 4 ** All rights reserved. 5 5 ** Contact: Nokia Corporation ([email protected]) … … 654 654 static void loadMatrix(const QMatrix4x4& m) 655 655 { 656 GLfloat mat[16]; 656 // static to prevent glLoadMatrixf to fail on certain drivers 657 static GLfloat mat[16]; 657 658 const qreal *data = m.constData(); 658 659 for (int index = 0; index < 16; ++index) … … 663 664 static void multMatrix(const QMatrix4x4& m) 664 665 { 665 GLfloat mat[16]; 666 // static to prevent glMultMatrixf to fail on certain drivers 667 static GLfloat mat[16]; 666 668 const qreal *data = m.constData(); 667 669 for (int index = 0; index < 16; ++index)
Note:
See TracChangeset
for help on using the changeset viewer.
