Commit graph

8 commits

Author SHA1 Message Date
Sam Lantinga
6113055717 Date: Wed, 15 Aug 2007 01:08:38 +0200
From: Couriersud
Subject: Some SDL1.3 patches

LoadLibrary will call X11_GL_Initialize. If LoadLibrary is called before
a window is created, it will crash since structures are not properly set
up.

--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%402605
2007-08-15 03:34:14 +00:00
Sam Lantinga
a3245a4e7c Creating a context makes it current, per the documentation.
Applied a variant of the multi-card OpenGL fix from SDL 1.2

--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%402497
2007-07-12 06:31:36 +00:00
Ryan C. Gordon
58207d9ed7 Date: Wed, 23 May 2007 00:39:47 +0300
From: "Eyal Lotem"
To: "SDL Mailing List" <sdl@lists.libsdl.org>
Subject: [SDL] Bug in GL_SWAP_CONTROL extension name.

The checked extension name is incorrect.
The attached patch fixes it to the correct name.

I don't think that under any setup, this extension name was ever
correct, which is why its not OR'd against the old check.

This fixes the "tear effect" (vsync problems) I had here with nVidia
GLX drivers.

Eyal

--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%402311
2007-05-22 22:13:56 +00:00
Sam Lantinga
c8d7322dc6 Simplified driver window creation code.
Implemented several Cocoa window functions

--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%402002
2006-07-29 21:51:00 +00:00
Sam Lantinga
7f0d36082f --HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%402001
2006-07-29 03:57:55 +00:00
Sam Lantinga
89ab980b38 Don't unload the OpenGL library before the X display is closed.
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%402000
2006-07-29 03:56:35 +00:00
Sam Lantinga
529b4ad049 We're not querying the glX attributes anymore...
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%401999
2006-07-28 08:46:24 +00:00
Sam Lantinga
931e1c106d Implemented X11 OpenGL support.
Added support for the SDL_VIDEO_OPENGL environment variable.

--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%401998
2006-07-28 08:43:17 +00:00