Patches

Hi,
I’ve made the following changes to SDL1.2.5:

  • Adds SDL_UnregisterApp and fix a memory leak in SDL_Appname and a resource
    leak in RegisterClass.
  • Fix invalid api call in GetWindowRect inside the WM_GETMINMAXINFO message.
  • Add two new OpenGL attibutes: GL_ACCELERATION and GL_SAMPLES.
  • Add support for ARB_pixel_format and ARB_multisample OpenGL extensions.
  • Setup GL context before showing the window, to avoid flickering when
    WIN_GL_SetupWindow fails.

I can give more details, but I’d like to know how to create the patch. Do I
have to diff it with the latest CVS version or with the 1.2.5 release?

Thanks in advance,

Ignacio Casta?o
@Ignacio_Castano___________________________________________________
Yahoo! M?viles
Personaliza tu m?vil con tu logo y melod?a favorito
en http://moviles.yahoo.es

Hi,
I’ve made the following changes to SDL1.2.5:

  • Adds SDL_UnregisterApp and fix a memory leak in SDL_Appname and a resource
    leak in RegisterClass.
  • Fix invalid api call in GetWindowRect inside the WM_GETMINMAXINFO message.
  • Add two new OpenGL attibutes: GL_ACCELERATION and GL_SAMPLES.
  • Add support for ARB_pixel_format and ARB_multisample OpenGL extensions.
  • Setup GL context before showing the window, to avoid flickering when
    WIN_GL_SetupWindow fails.

I can give more details, but I’d like to know how to create the patch. Do I
have to diff it with the latest CVS version or with the 1.2.5 release?

Please diff it with the latest CVS version.

Thanks!
-Sam Lantinga, Software Engineer, Blizzard Entertainment

Sam Lantinga wrote:

Please diff it with the latest CVS version.

Attached is the patch against the latest version. I don’t have too much
experience with cvs and diff, so correct me if it’s wrong.

  • Adds SDL_UnregisterApp and fix a memory leak in SDL_Appname and a
    resource
    leak in RegisterClass.
  • Fix invalid api call in GetWindowRect inside the WM_GETMINMAXINFO
    message.
  • Add two new OpenGL attibutes: GL_ACCELERATION and GL_SAMPLES.
  • Add support for ARB_pixel_format and ARB_multisample OpenGL extensions.
  • Setup GL context before showing the window, to avoid flickering when
    WIN_GL_SetupWindow fails.

I’ve also added a standard win32 cursor as default. I don’t know if anybody
wants that, but I think ‘that on windows’ it looks better. It’s only enabled
if WIN32 is defined.

Ignacio Casta?o
@Ignacio_Castano

-------------- next part --------------
A non-text attachment was scrubbed…
Name: sdlmisc.patch
Type: application/octet-stream
Size: 23400 bytes
Desc: not available
URL: http://lists.libsdl.org/pipermail/sdl-libsdl.org/attachments/20030206/8fa29427/attachment.obj