Ignore:
Timestamp:
Mar 8, 2010, 12:52:58 PM (15 years ago)
Author:
Dmitry A. Kuminov
Message:

trunk: Merged in qt 4.6.2 sources.

Location:
trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk

  • trunk/demos/boxes/scene.cpp

    r561 r651  
    11/****************************************************************************
    22**
    3 ** Copyright (C) 2009 Nokia Corporation and/or its subsidiary(-ies).
     3** Copyright (C) 2010 Nokia Corporation and/or its subsidiary(-ies).
    44** All rights reserved.
    55** Contact: Nokia Corporation (qt-info@nokia.com)
     
    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.