Changeset 976


Ignore:
Timestamp:
Apr 10, 2009, 11:31:00 AM (15 years ago)
Author:
garnier
Message:

modifs mineures

Location:
trunk/source/visualization/OpenGL/src
Files:
6 edited

Legend:

Unmodified
Added
Removed
  • trunk/source/visualization/OpenGL/src/G4OpenGLImmediateQtViewer.cc

    r955 r976  
    2525//
    2626//
    27 // $Id: G4OpenGLImmediateQtViewer.cc,v 1.12 2009/02/04 16:48:41 lgarnier Exp $
     27// $Id: G4OpenGLImmediateQtViewer.cc,v 1.13 2009/03/31 17:14:42 lgarnier Exp $
    2828// GEANT4 tag $Name:  $
    2929//
  • trunk/source/visualization/OpenGL/src/G4OpenGLImmediateXViewer.cc

    r945 r976  
    8686
    8787  //Make sure current viewer is attached and clean...
    88   glXMakeCurrent (dpy, fGLXWin, cx);
     88  glXMakeCurrent (dpy, win, cx);
    8989
    9090  if(style!=G4ViewParameters::hlr &&
  • trunk/source/visualization/OpenGL/src/G4OpenGLQtViewer.cc

    r959 r976  
    2525//
    2626//
    27 // $Id: G4OpenGLQtViewer.cc,v 1.38 2009/03/05 16:36:13 lgarnier Exp $
     27// $Id: G4OpenGLQtViewer.cc,v 1.39 2009/03/31 17:14:42 lgarnier Exp $
    2828// GEANT4 tag $Name:  $
    2929//
     
    3232//                     functionality for OpenGL in GEANT4
    3333//
     34// 27/06/2003 : G.Barrand : implementation (at last !).
    3435
    3536#ifdef G4VIS_BUILD_OPENGLQT_DRIVER
  • trunk/source/visualization/OpenGL/src/G4OpenGLStoredQtViewer.cc

    r955 r976  
    2525//
    2626//
    27 // $Id: G4OpenGLStoredQtViewer.cc,v 1.23 2009/01/19 16:26:40 lgarnier Exp $
     27// $Id: G4OpenGLStoredQtViewer.cc,v 1.24 2009/03/31 17:14:42 lgarnier Exp $
    2828// GEANT4 tag $Name:  $
    2929//
  • trunk/source/visualization/OpenGL/src/G4OpenGLXmRotationCallbacks.cc

    r951 r976  
    2525//
    2626//
    27 // $Id: G4OpenGLXmRotationCallbacks.cc,v 1.16 2008/07/28 15:36:45 lgarnier 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: $
    2929//
    3030//
  • trunk/source/visualization/OpenGL/src/G4OpenGLXmViewer.cc

    r945 r976  
    635635  // can bind the OpenGL rendering context to the window.
    636636
    637   fGLXWin = XtWindow (glxarea);
    638 
    639   glXMakeCurrent (dpy, fGLXWin, cx);
     637  win = XtWindow (glxarea);
     638
     639  glXMakeCurrent (dpy, win, cx);
    640640
    641641  // This should be add AFTER glXMakeCurrent done because it will fire a resizeCallback
     
    684684{
    685685  XtDestroyWidget  (shell);
    686   fGLXWin = 0; // ...to avoid XDestroyWindow in G4OpenGLXViewer base class
     686  win = 0; // ...to avoid XDestroyWindow in G4OpenGLXViewer base class
    687687  // because XtDestroyWidget has already destroyed it.
    688688  G4Xt::getInstance () ->RemoveShell (shell);
Note: See TracChangeset for help on using the changeset viewer.