Show
Ignore:
Timestamp:
10/21/14 17:10:27 (5 hours ago)
Author:
robert
Message:

Added shaders to support experimental shader based displacement mapping technique osgTerrain::ShaderTerrain?.

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • OpenSceneGraph/trunk/src/osgQt/QGraphicsViewAdapter.cpp

    r13482 r14044  
    9292#endif 
    9393 
    94     _width = _graphicsScene->width(); 
    95     _height = _graphicsScene->height(); 
     94    _width = static_cast<int>(_graphicsScene->width()); 
     95    _height = static_cast<int>(_graphicsScene->height()); 
    9696 
    9797    _qimages[0] = QImage(QSize(_width, _height), s_imageFormat);