=================================================================== RCS file: /home/cvs/OpenXM/src/cfep/MyOpenGLController.m,v retrieving revision 1.1.1.1 retrieving revision 1.4 diff -u -p -r1.1.1.1 -r1.4 --- OpenXM/src/cfep/MyOpenGLController.m 2006/03/03 23:31:12 1.1.1.1 +++ OpenXM/src/cfep/MyOpenGLController.m 2018/10/18 04:59:45 1.4 @@ -9,8 +9,8 @@ #import "MyOpenGLController.h" // MyOpenGL window id (gid) is an indeger. -static MyOpenGLController *oglWindow[GID_MAX]; // gid --> MyOpenGLController instance. -static MyDocument *oglParent[GID_MAX]; // gid --> parent MyDocument. +static MyOpenGLController *oglWindow[MY_GID_MAX]; // gid --> MyOpenGLController instance. +static MyDocument *oglParent[MY_GID_MAX]; // gid --> parent MyDocument. static int MyOpenGLControllerInitialized = 0; static int Gid=0; @@ -19,7 +19,7 @@ static int Gid=0; +(void) initMyOpenGLController { int i; if (MyOpenGLControllerInitialized) return; - for (i=0; i= 0) && (tid = 0) && (tid