Changeset 7006 for trunk/src/opengl/mesa


Ignore:
Timestamp:
Oct 11, 2001, 12:34:36 AM (24 years ago)
Author:
phaller
Message:

profiling compatibility

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/opengl/mesa/context.c

    r3598 r7006  
    1 /* $Id: context.c,v 1.4 2000-05-23 20:40:25 jeroen Exp $ */
     1/* $Id: context.c,v 1.5 2001-10-10 22:34:36 phaller Exp $ */
    22
    33/*
     
    110110#ifdef PROFILE
    111111
     112#ifndef __WIN32OS2__
    112113#include <sys/times.h>
    113114#include <sys/param.h>
    114 
     115#endif
    115116
    116117/*
     
    118119 * NOTE:  this implementation may not be very portable!
    119120 */
     121
    120122GLdouble gl_time( void )
    121123{
     124#ifdef __WIN32OS2__
     125  return 1; // @@@PH
     126#else
    122127   static GLdouble prev_time = 0.0;
    123128   static GLdouble time;
     
    140145      return prev_time;
    141146   }
     147#endif
    142148}
    143149
     
    255261}
    256262#endif
    257 
    258263
    259264
Note: See TracChangeset for help on using the changeset viewer.