]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - EVE/Alieve/.SKEL-gl.cxx
Follow-up on gl/ changes introduced in ROOT-5.16.
[u/mrichter/AliRoot.git] / EVE / Alieve / .SKEL-gl.cxx
index edacfb63dbedfb434e5d0cb04e24a4fda037f7db..707fd9ffa8e3c7b924632ed2fcdbb41834d1307c 100644 (file)
@@ -3,13 +3,8 @@
 #include "CLASS.h"
 #include <Alieve/STEM.h>
 
-#include <TGLDrawFlags.h>
-
-#ifdef WIN32
-#include "Windows4root.h"
-#endif
-#include <GL/gl.h>
-#include <GL/glu.h>
+#include <TGLRnrCtx.h>
+#include <TGLIncludes.h>
 
 using namespace Reve;
 using namespace Alieve;
@@ -30,7 +25,7 @@ CLASS::~CLASS()
 
 /**************************************************************************/
 
-Bool_t CLASS::SetModel(TObject* obj)
+Bool_t CLASS::SetModel(TObject* obj, const Option_t* /*opt*/)
 {
   if(SetModelCheckClass(obj, STEM::Class())) {
     fM = dynamic_cast<STEM*>(obj);
@@ -47,7 +42,7 @@ void CLASS::SetBBox()
 
 /**************************************************************************/
 
-void CLASS::DirectDraw(const TGLDrawFlags & flags) const
+void CLASS::DirectDraw(TGLRnrCtx & rnrCtx) const
 {
   // printf("CLASS::DirectDraw Style %d, LOD %d\n", flags.Style(), flags.LOD());
 }