diff --git a/api/windows_opengl.C b/api/windows_opengl.C index d185876f50..54cfa74162 100755 --- a/api/windows_opengl.C +++ b/api/windows_opengl.C @@ -93,8 +93,8 @@ static void make_new_window(int mode) { while(ShowCursor(true) < 0); } - APP_INIT_DATA aid; - boinc_get_init_data(aid); + //APP_INIT_DATA aid; + //boinc_get_init_data(aid); if (!strlen(aid.app_name)) strcpy(aid.app_name, "BOINC Application"); hWnd = CreateWindowEx(dwExStyle, BOINC_WINDOW_CLASS_NAME, aid.app_name, dwStyle|WS_CLIPSIBLINGS|WS_CLIPCHILDREN, WindowRect.left, WindowRect.top, diff --git a/api/x_opengl.C b/api/x_opengl.C index abc4aa53e5..c066a06a7d 100644 --- a/api/x_opengl.C +++ b/api/x_opengl.C @@ -24,8 +24,6 @@ extern GRAPHICS_INFO gi; static void timer_handler(); void set_mode(int mode); -APP_INIT_DATA aid; - void keyboardU(unsigned char key, int x, int y) { /* This callback is invoked when a user presses a key. */ @@ -117,7 +115,6 @@ static void make_new_window(int mode){ } else if(mode == MODE_WINDOW){ glutInitWindowPosition(xpos, ypos); glutInitWindowSize(gi.xsize, gi.ysize); - boinc_get_init_data(aid); if (!strlen(aid.app_name)) strcpy(aid.app_name, "BOINC Application"); win = glutCreateWindow(aid.app_name); diff --git a/checkin_notes b/checkin_notes index 313c68678d..a2db13b8d1 100755 --- a/checkin_notes +++ b/checkin_notes @@ -15348,3 +15348,11 @@ David 16 July 2004 parse.C sched/ db_dump.C + +Daniel 2004-07-16 + - API: fixes in GL code to use APP_INIT_DATA aid from boinc_api.C + + api/ + x_opengl.C + windows_opengl.C +