0024624: Lost word in license statement in source files
[occt.git] / src / OpenGl / OpenGl_Caps.cxx
CommitLineData
58655684 1// Created on: 2013-08-25
2// Created by: Kirill GAVRILOV
d5f74e42 3// Copyright (c) 2013-2014 OPEN CASCADE SAS
58655684 4//
973c2be1 5// This file is part of Open CASCADE Technology software library.
58655684 6//
d5f74e42 7// This library is free software; you can redistribute it and/or modify it under
8// the terms of the GNU Lesser General Public License version 2.1 as published
973c2be1 9// by the Free Software Foundation, with special exception defined in the file
10// OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
11// distribution for complete text of the license and disclaimer of any warranty.
58655684 12//
973c2be1 13// Alternatively, this file may be used under the terms of Open CASCADE
14// commercial license or contractual agreement.
58655684 15
16#include <OpenGl_Caps.hxx>
17
18IMPLEMENT_STANDARD_HANDLE (OpenGl_Caps, Standard_Transient)
19IMPLEMENT_STANDARD_RTTIEXT(OpenGl_Caps, Standard_Transient)
20
21// =======================================================================
22// function : OpenGl_Caps
23// purpose :
24// =======================================================================
25OpenGl_Caps::OpenGl_Caps()
a577aaab 26: vboDisable (Standard_False),
27 pntSpritesDisable (Standard_False),
392ac980 28 keepArrayData (Standard_False),
abe46077 29 contextStereo (Standard_False),
fcdbe201 30#ifdef DEB
31 contextDebug (Standard_True),
32#else
abe46077 33 contextDebug (Standard_False),
fcdbe201 34#endif
e276548b 35 contextNoAccel (Standard_False),
392ac980 36 glslWarnings (Standard_False)
58655684 37{
38 //
39}
40
41// =======================================================================
42// function : operator=
43// purpose :
44// =======================================================================
45OpenGl_Caps& OpenGl_Caps::operator= (const OpenGl_Caps& theCopy)
46{
a577aaab 47 vboDisable = theCopy.vboDisable;
48 pntSpritesDisable = theCopy.pntSpritesDisable;
392ac980 49 keepArrayData = theCopy.keepArrayData;
abe46077 50 contextStereo = theCopy.contextStereo;
a577aaab 51 contextDebug = theCopy.contextDebug;
abe46077 52 contextNoAccel = theCopy.contextNoAccel;
392ac980 53 glslWarnings = theCopy.glslWarnings;
58655684 54 return *this;
55}
56
57// =======================================================================
58// function : ~OpenGl_Caps
59// purpose :
60// =======================================================================
61OpenGl_Caps::~OpenGl_Caps()
62{
63 //
64}