0029768: Visualization, TKOpenGl - structure is entirely clipped by suppressed clipping
[occt.git] / src / OpenGl / OpenGl_ExtGS.hxx
CommitLineData
6aca4d39 1// Created on: 2012-09-26
0e26a4d0 2// Created by: Olga SURYANINOVA
6aca4d39 3// Copyright (c) 2012-2014 OPEN CASCADE SAS
0e26a4d0 4//
973c2be1 5// This file is part of Open CASCADE Technology software library.
0e26a4d0 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.
0e26a4d0 12//
973c2be1 13// Alternatively, this file may be used under the terms of Open CASCADE
14// commercial license or contractual agreement.
0e26a4d0 15
16#ifndef _OpenGl_ExtGS_H__
17#define _OpenGl_ExtGS_H__
18
01ca42b2 19#include <OpenGl_GlFunctions.hxx>
0e26a4d0 20
21//! Geometry shader as extension is available on OpenGL 2.0+
01ca42b2 22struct OpenGl_ExtGS : protected OpenGl_GlFunctions
0e26a4d0 23{
ca3c13d1 24#if !defined(GL_ES_VERSION_2_0)
01ca42b2 25 using OpenGl_GlFunctions::glProgramParameteriEXT;
ca3c13d1 26#endif
0e26a4d0 27};
28
29#endif // _OpenGl_ExtGS_H__