Skip to content
Snippets Groups Projects
Commit 0982669e authored by Fons Rademakers's avatar Fons Rademakers
Browse files

cast Visual* to Visual_t.

git-svn-id: http://root.cern.ch/svn/root/trunk@5393 27541ba8-7e3a-0410-8455-c3a389f83636
parent c97b8b20
Branches
Tags
No related merge requests found
// @(#)root/gl:$Name: $:$Id: TRootGLViewer.cxx,v 1.5 2000/10/30 11:00:40 rdm Exp $ // @(#)root/gl:$Name: $:$Id: TRootGLViewer.cxx,v 1.6 2002/10/04 16:06:28 rdm Exp $
// Author: Fons Rademakers 15/01/98 // Author: Fons Rademakers 15/01/98
/************************************************************************* /*************************************************************************
...@@ -262,7 +262,8 @@ void TRootGLViewer::InitGLWindow() ...@@ -262,7 +262,8 @@ void TRootGLViewer::InitGLWindow()
Window_t wind = fCanvasWindow->GetViewPort()->GetId(); Window_t wind = fCanvasWindow->GetViewPort()->GetId();
#ifndef GDK_WIN32 #ifndef GDK_WIN32
fGLWin = (Window) gVirtualX->CreateGLWindow(wind, fVisInfo->visual, fVisInfo->depth); fGLWin = (Window) gVirtualX->CreateGLWindow(wind, (Visual_t)fVisInfo->visual,
fVisInfo->depth);
#else #else
fGLWin = (GdkWindow *)gVirtualX->CreateGLWindow(wind); fGLWin = (GdkWindow *)gVirtualX->CreateGLWindow(wind);
#endif #endif
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment