Commit graph

12 commits

Author SHA1 Message Date
Sam Lantinga
094df0007e Passing a NULL GL library does the right thing nowadays.
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%401444
2006-02-26 13:40:26 +00:00
Sam Lantinga
00cfc17565 Fixed warnings in -pedantic mode
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%401443
2006-02-26 05:02:14 +00:00
Sam Lantinga
218d042d75 Use the right dynamic GL on MacOS Classic
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%401440
2006-02-26 03:51:08 +00:00
Sam Lantinga
c36118165e Use consistent identifiers for the various platforms we support.
Make sure every source file includes SDL_config.h, so the proper system
headers are chosen.

--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%401406
2006-02-21 08:46:50 +00:00
Sam Lantinga
b76a6d8e08 Pick the right default GL library on IRIX
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%401390
2006-02-20 10:19:22 +00:00
Ryan C. Gordon
91121c3104 Removed atexit() from most of the test programs; atexit(SDL_Quit) isn't safe
if SDL is built with a non-cdecl calling convention, and it's just generally
 bad practice anyhow.

Now programs explicitly call SDL_Quit() where appropriate, wrap SDL_Quit() in
 a cdecl function where it can't be avoided, and rely on the parachute where
 a crash might have hit the atexit() before (these ARE test programs, after
 all!).

--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%401154
2005-09-28 11:36:20 +00:00
Patrice Mandin
154c8f584c Restore everything when a function pointer is NULL
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%40991
2004-11-26 16:13:24 +00:00
Sam Lantinga
1ac1efb053 Date: Sat, 26 Jun 2004 14:58:42 +0300
From: "Mike Gorchak"
Subject: QNX 6.3 fixes for SDL

Sam, I've added new OpenGL framework for SDL, which appeared in the new QNX version - 6.3. I've leave compatibility with previous QNX versions. And I've moved all GL specific functions to the separate module, like it done for the other platforms.

SDL is now ready for the QNX 6.3 :)

--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%40911
2004-07-18 19:46:38 +00:00
Sam Lantinga
2ca2c6c186 Date: Wed, 28 Apr 2004 16:52:41 -0400
From: "Damien A"
Subject: testdyngl fix

The test program you included in the latest version of SDL crashes on startup in Window (XP). The reason for this is that OpenGL functions on Windows use the __stdcall calling convention, not the C convention.  Placing APIENTRY infront of the * operator solves this problem.

--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%40886
2004-04-30 18:33:30 +00:00
Sam Lantinga
a79d5610c6 *** empty log message ***
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%40848
2004-02-21 00:21:06 +00:00
Sam Lantinga
67f01941f2 Load the correct library on Windows
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%40843
2004-02-17 22:04:44 +00:00
Sam Lantinga
6e5735ed77 Added a test program for dynamically loading OpenGL
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%40840
2004-02-17 18:16:49 +00:00