Timestamp:
Mar 7, 2010, 11:52:24 PM (16 years ago)
Author:
Dmitry A. Kuminov
Message:

vendor: Merged in qt-everywhere-opensource-src-4.6.2 from Nokia.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/vendor/nokia/qt/current/demos/boxes/scene.cpp

    r556 r649  
    11/****************************************************************************
    22**
    3 ** Copyright (C) 2009 Nokia Corporation and/or its subsidiary(-ies).
     3** Copyright (C) 20 Nokia Corporation and/or its subsidiary(-ies).
    44** All rights reserved.
    55** Contact: Nokia Corporation ([email protected])
     
    654654static void loadMatrix(const QMatrix4x4& m)
    655655{
    656     GLfloat mat[16];
     656    // static to prevent glLoadMatrixf to fail on certain drivers
     657    static GLfloat mat[16];
    657658    const qreal *data = m.constData();
    658659    for (int index = 0; index < 16; ++index)
     
    663664static void multMatrix(const QMatrix4x4& m)
    664665{
    665     GLfloat mat[16];
     666    // static to prevent glMultMatrixf to fail on certain drivers
     667    static GLfloat mat[16];
    666668    const qreal *data = m.constData();
    667669    for (int index = 0; index < 16; ++index)
Note: See TracChangeset for help on using the changeset viewer.