Ignore:
Timestamp:
Feb 9, 2000, 9:51:20 AM (26 years ago)
Author:
jeroen
Message:

* empty log message *

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 sandervl Exp $ */
     1/* $Id: initterm.cpp,v 1.2 2000-02-09 08:46:20 jeroen Exp $ */
    22
    33/*
     
    4141}
    4242
     43BOOL WINAPI Glut32LibMain(HINSTANCE hinstDLL, DWORD fdwReason, LPVOID ImpLoad);
     44
    4345/*-------------------------------------------------------------------*/
    4446/* A clean up routine registered with DosExitList must be used if    */
     
    4850/*-------------------------------------------------------------------*/
    4951static void APIENTRY cleanup(ULONG reason);
    50 
    5152
    5253/****************************************************************************/
     
    8182         /*******************************************************************/
    8283
    83          if(RegisterLxDll(hModule, 0, 0) == FALSE)
     84         if(RegisterLxDll(hModule, Glut32LibMain, 0) == FALSE)
    8485                return 0UL;
    8586
    86          rc = DosExitList(0x0000F000|EXLST_ADD, cleanup);
     87         rc = DosExitList(0x000F0000|EXLST_ADD, cleanup);
    8788         if(rc)
    8889                return 0UL;
Note: See TracChangeset for help on using the changeset viewer.