Ignore:
Timestamp:
Apr 27, 2009, 4:00:48 PM (15 years ago)
Author:
garnier
Message:

solution de John

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/source/visualization/externals/gl2ps/src/gl2ps.cc

    r1021 r1022  
    2424// ********************************************************************
    2525//
    26 
    2726#ifdef G4VIS_BUILD_OPENGL_DRIVER
    2827 #define G4VIS_BUILD_OPENGL_GL2PS
     
    33563355}
    33573356
    3358 static void gl2psPrintTeXBeginViewport(GLint  viewport[4]  )
    3359 {
    3360   // L. Garnier 23/04/2009 : Suppress "unused parameter" warning
    3361   do {
    3362     (void) (viewport);
    3363   } while(0);
    3364   // End
    3365 
     3357static void gl2psPrintTeXBeginViewport(GLint [4])
     3358{
    33663359  glRenderMode(GL_FEEDBACK);
    33673360 
     
    50445037}
    50455038
     5039#if defined(GL2PS_HAVE_LIBPNG)
    50465040static void gl2psPrintSVGPixmap(GLfloat x, GLfloat y, GL2PSimage *pixmap)
    5047 {
    5048   // L. Garnier 23/04/2009 : Suppress "unused parameter" warning
    5049   do {
    5050     (void)(x);
    5051     (void)(y);
    5052     (void)(pixmap);
    5053   } while (0);
    5054   // End
    5055 
     5041#else
     5042static void gl2psPrintSVGPixmap(GLfloat, GLfloat, GL2PSimage *)
     5043#endif
     5044{
    50565045#if defined(GL2PS_HAVE_LIBPNG)
    50575046  GL2PSlist *png;
Note: See TracChangeset for help on using the changeset viewer.