Changeset 976 for trunk/source/visualization
- Timestamp:
- Apr 10, 2009, 11:31:00 AM (15 years ago)
- Location:
- trunk/source/visualization/OpenGL/src
- Files:
-
- 6 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/source/visualization/OpenGL/src/G4OpenGLImmediateQtViewer.cc
r955 r976 25 25 // 26 26 // 27 // $Id: G4OpenGLImmediateQtViewer.cc,v 1.1 2 2009/02/04 16:48:41lgarnier Exp $27 // $Id: G4OpenGLImmediateQtViewer.cc,v 1.13 2009/03/31 17:14:42 lgarnier Exp $ 28 28 // GEANT4 tag $Name: $ 29 29 // -
trunk/source/visualization/OpenGL/src/G4OpenGLImmediateXViewer.cc
r945 r976 86 86 87 87 //Make sure current viewer is attached and clean... 88 glXMakeCurrent (dpy, fGLXWin, cx);88 glXMakeCurrent (dpy, win, cx); 89 89 90 90 if(style!=G4ViewParameters::hlr && -
trunk/source/visualization/OpenGL/src/G4OpenGLQtViewer.cc
r959 r976 25 25 // 26 26 // 27 // $Id: G4OpenGLQtViewer.cc,v 1.3 8 2009/03/05 16:36:13lgarnier Exp $27 // $Id: G4OpenGLQtViewer.cc,v 1.39 2009/03/31 17:14:42 lgarnier Exp $ 28 28 // GEANT4 tag $Name: $ 29 29 // … … 32 32 // functionality for OpenGL in GEANT4 33 33 // 34 // 27/06/2003 : G.Barrand : implementation (at last !). 34 35 35 36 #ifdef G4VIS_BUILD_OPENGLQT_DRIVER -
trunk/source/visualization/OpenGL/src/G4OpenGLStoredQtViewer.cc
r955 r976 25 25 // 26 26 // 27 // $Id: G4OpenGLStoredQtViewer.cc,v 1.2 3 2009/01/19 16:26:40lgarnier Exp $27 // $Id: G4OpenGLStoredQtViewer.cc,v 1.24 2009/03/31 17:14:42 lgarnier Exp $ 28 28 // GEANT4 tag $Name: $ 29 29 // -
trunk/source/visualization/OpenGL/src/G4OpenGLXmRotationCallbacks.cc
r951 r976 25 25 // 26 26 // 27 // $Id: G4OpenGLXmRotationCallbacks.cc,v 1.1 6 2008/07/28 15:36:45lgarnier Exp $28 // GEANT4 tag $Name: geant4-09-02-ref-02$27 // $Id: G4OpenGLXmRotationCallbacks.cc,v 1.17 2009/01/19 16:53:42 lgarnier Exp $ 28 // GEANT4 tag $Name: $ 29 29 // 30 30 // -
trunk/source/visualization/OpenGL/src/G4OpenGLXmViewer.cc
r945 r976 635 635 // can bind the OpenGL rendering context to the window. 636 636 637 fGLXWin = XtWindow (glxarea);638 639 glXMakeCurrent (dpy, fGLXWin, cx);637 win = XtWindow (glxarea); 638 639 glXMakeCurrent (dpy, win, cx); 640 640 641 641 // This should be add AFTER glXMakeCurrent done because it will fire a resizeCallback … … 684 684 { 685 685 XtDestroyWidget (shell); 686 fGLXWin = 0; // ...to avoid XDestroyWindow in G4OpenGLXViewer base class686 win = 0; // ...to avoid XDestroyWindow in G4OpenGLXViewer base class 687 687 // because XtDestroyWidget has already destroyed it. 688 688 G4Xt::getInstance () ->RemoveShell (shell);
Note: See TracChangeset
for help on using the changeset viewer.