From SDL-1.1.4 to SDL-1.1.5
function ‘void SDL_SetClipping’ has been changed in
function 'void SDL_bool SDL_SetClipRect’
but I haven’t found backwards compatibility macros
to make possible the dinamic link of the library
(ex. for upgrading SDL.DLL from 1.1.4 to 1.1.5 without recompiling).
Licence LGPL is about dinamic link, but how can I do it
if SDL interface has changed?
From SDL-1.1.4 to SDL-1.1.5
function ‘void SDL_SetClipping’ has been changed in
function 'SDL_bool SDL_SetClipRect’
but I haven’t found backwards compatibility macros
to make possible the dinamic link of the library
(ex. for upgrading SDL.DLL from 1.1.4 to 1.1.5 without recompiling).
Licence LGPL is about dinamic link, but how can I do it
if SDL interface has changed?
From SDL-1.1.4 to SDL-1.1.5
function ‘void SDL_SetClipping’ has been changed in
function 'SDL_bool SDL_SetClipRect’
but I haven’t found backwards compatibility macros
to make possible the dinamic link of the library
(ex. for upgrading SDL.DLL from 1.1.4 to 1.1.5 without recompiling).
Licence LGPL is about dinamic link, but how can I do it
if SDL interface has changed?
Did you actually use SDL_SetClipping()? I only know of one program that
used it, and it has since been fixed to use the new code.
See ya,
-Sam Lantinga, Lead Programmer, Loki Entertainment Software
to compile using the correct function.
Don’t worry. It’s all ok!
Well, that’s odd, because the two functions have completely different
meanings. SDL_SetClipping() sets the source clip rectangle, and
SDL_SetClipRect() sets the destination clip rectangle. If they both
work then something is fishy in your code.
See ya!
-Sam Lantinga, Lead Programmer, Loki Entertainment Software
Well, that’s odd, because the two functions have completely different
meanings. SDL_SetClipping() sets the source clip rectangle, and
SDL_SetClipRect() sets the destination clip rectangle. If they both
work then something is fishy in your code.
Uh, you’re right! I haven’t tested 1.1.5 executable, because
when I saw the palette problem, I quitted.
Now I will check it, thanks.
Uhm,… and then, why you have remove SDL_SetClipping
and added SDL_SetClipRect ?
Do you thing SDL_SetClipping is a useless function ?
Well, that’s odd, because the two functions have completely different
meanings. SDL_SetClipping() sets the source clip rectangle, and
SDL_SetClipRect() sets the destination clip rectangle. If they both
work then something is fishy in your code.
Uh, you’re right! I haven’t tested 1.1.5 executable, because
when I saw the palette problem, I quitted.
I rewrote some parts of my code so I don’t need
SDL_SetClipping or SDL_SetClipRect anymore.
…and now there are no problems.