Project

General

Profile

« Previous | Next » 

Revision 4c1d6547

Added by danij over 17 years ago

drOpenGL: Added a DG_Init() function to be called when the plugin is first loaded and renamed the existing DG_Init() to DG_CreateContext().

Reorganized the drOpenGL project file so that I can see/edit the Unix-specific code.

Cleaned up the win32 code for creating a OpenGL rendering context. Plus, now uses more robust error checking and doesn't force an abnormal exit when some task in setting up fails (to afford the engine an opportunity to shutdown gracefully). Always release the device context, even if the procedure fails.

Files

  • added
  • modified
  • copied
  • renamed
  • deleted

View differences