Added new Copyright/License notice to header and source files.
This commit is contained in:
@@ -1,3 +1,15 @@
|
||||
/* -*-c++-*- OpenSceneGraph - Copyright (C) 1998-2003 Robert Osfield
|
||||
*
|
||||
* This library is open source and may be redistributed and/or modified under
|
||||
* the terms of the OpenSceneGraph Public License (OSGPL) version 0.0 or
|
||||
* (at your option) any later version. The full license is in LICENSE file
|
||||
* included with this distribution, and on the openscenegraph.org website.
|
||||
*
|
||||
* This library is distributed in the hope that it will be useful,
|
||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
* OpenSceneGraph Public License for more details.
|
||||
*/
|
||||
#include <osg/GL>
|
||||
#include <osg/GLU>
|
||||
|
||||
@@ -219,9 +231,14 @@ void Image::allocateImage(int s,int t,int r,
|
||||
_dataType = type;
|
||||
_packing = packing;
|
||||
|
||||
cout << "allocated ok "<<_s<<","<<_t<<" pf="<<_pixelFormat<<" dt="<<_dataType<<endl;
|
||||
|
||||
}
|
||||
else
|
||||
{
|
||||
cout << "allocation error"<<endl;
|
||||
|
||||
|
||||
// throw exception?? not for now, will simply set values to 0.
|
||||
_s = 0;
|
||||
_t = 0;
|
||||
|
||||
Reference in New Issue
Block a user