*** empty log message ***

svn path=/trunk/boinc/; revision=3896
This commit is contained in:
Daniel Hsu 2004-07-16 21:10:15 +00:00
parent 670e403efa
commit 6f658cf837
3 changed files with 10 additions and 5 deletions

View File

@ -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,

View File

@ -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);

View File

@ -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