[BACK]Return to graph.c CVS log [TXT][DIR] Up to [local] / OpenXM / src / oxmgraph

Diff for /OpenXM/src/oxmgraph/graph.c between version 1.4 and 1.5

version 1.4, 2009/03/17 17:04:14 version 1.5, 2009/03/18 02:35:00
Line 5  License: This software is distributed under the 2-clua
Line 5  License: This software is distributed under the 2-clua
 (http://en.wikipedia.org/wiki/BSD_licenses)  (http://en.wikipedia.org/wiki/BSD_licenses)
 */  */
   
 #ifdef MAC_OS_X  
 #include <GLUT/glut.h>  
 #else  
 #if defined (_MSC_VER)  #if defined (_MSC_VER)
 #include <windows.h>  #include <windows.h>
 #endif  #endif
 #include<GL/gl.h>  #if defined(__APPLE__)
 #include<GL/glu.h>  #include <GLUT/glut.h>
   #else
 #include<GL/glut.h>  #include<GL/glut.h>
 #endif  #endif
   
Line 939  int main(int argc, char** argv)
Line 937  int main(int argc, char** argv)
   glutInit(&argc, argv);    glutInit(&argc, argv);
   glutInitDisplayMode(GLUT_SINGLE | GLUT_RGB | GLUT_DOUBLE |    glutInitDisplayMode(GLUT_SINGLE | GLUT_RGB | GLUT_DOUBLE |
                       GLUT_DEPTH | GLUT_MULTISAMPLE);                        GLUT_DEPTH | GLUT_MULTISAMPLE);
 #ifdef MAC_OS_X  #if defined(__APPLE__)
   glutInitWindowSize(512, 512);    glutInitWindowSize(512, 512);
 #else  #else
   glutInitWindowSize(500, 500);    glutInitWindowSize(500, 500);

Legend:
Removed from v.1.4  
changed lines
  Added in v.1.5

FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>