Changeset 2689 for trunk/src/opengl/glut/initterm.cpp
- Timestamp:
- Feb 9, 2000, 9:51:20 AM (26 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/opengl/glut/initterm.cpp
r2595 r2689 1 /* $Id: initterm.cpp,v 1. 1 2000-02-01 19:42:07 sandervlExp $ */1 /* $Id: initterm.cpp,v 1.2 2000-02-09 08:46:20 jeroen Exp $ */ 2 2 3 3 /* … … 41 41 } 42 42 43 BOOL WINAPI Glut32LibMain(HINSTANCE hinstDLL, DWORD fdwReason, LPVOID ImpLoad); 44 43 45 /*-------------------------------------------------------------------*/ 44 46 /* A clean up routine registered with DosExitList must be used if */ … … 48 50 /*-------------------------------------------------------------------*/ 49 51 static void APIENTRY cleanup(ULONG reason); 50 51 52 52 53 /****************************************************************************/ … … 81 82 /*******************************************************************/ 82 83 83 if(RegisterLxDll(hModule, 0, 0) == FALSE)84 if(RegisterLxDll(hModule, Glut32LibMain, 0) == FALSE) 84 85 return 0UL; 85 86 86 rc = DosExitList(0x000 0F000|EXLST_ADD, cleanup);87 rc = DosExitList(0x000F0000|EXLST_ADD, cleanup); 87 88 if(rc) 88 89 return 0UL;
Note:
See TracChangeset
for help on using the changeset viewer.