Changeset 3993 for trunk/src/opengl/mesa/3dfx
- Timestamp:
- Aug 11, 2000, 12:56:27 PM (25 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/opengl/mesa/3dfx/initterm.cpp
r2938 r3993 1 /* $Id: initterm.cpp,v 1. 1 2000-02-29 00:46:18sandervl Exp $ */1 /* $Id: initterm.cpp,v 1.2 2000-08-11 10:56:23 sandervl Exp $ */ 2 2 3 3 /* … … 44 44 extern DWORD _Resource_PEResTab; 45 45 } 46 static HMODULE dllHandle = 0; 46 47 47 48 int cleangraphics(void); … … 92 93 CheckVersionFromHMOD(PE2LX_VERSION, hModule);/* PLF Wed 98-03-18 05:28:48*/ 93 94 94 /*******************************************************************/ 95 /* A DosExitList routine must be used to clean up if runtime calls */ 96 /* are required and the runtime is dynamically linked. */ 97 /*******************************************************************/ 98 99 if(RegisterLxDll(hModule, LibMain, (PVOID)&_Resource_PEResTab) == FALSE) 100 return 0UL; 95 dllHandle = RegisterLxDll(hModule, LibMain, (PVOID)&_Resource_PEResTab); 96 if(dllHandle == 0) 97 return 0UL; 101 98 102 99 break; 103 100 104 101 case 1 : 105 UnregisterLxDll(hModule); 102 if(dllHandle) { 103 UnregisterLxDll(dllHandle); 104 } 106 105 break; 107 106
Note:
See TracChangeset
for help on using the changeset viewer.