Testoverlay/testoverlay2 in 1.3

Using 1.3 and 1.3-svn I can’t get testoverlay/testoverlay2 (under tests)
to work…
: leisner at thinkpad 11:40:45;./testoverlay
Set 640x480x24 mode
(video surface located in system memory)
Couldn’t create overlay: Unsupported texture format
: leisner at thinkpad 11:40:48;./testoverlay2
Couldn’t create overlay: Unsupported texture format

(a windows is thrown up quickly).

(note – with 1.2.13 these seem to work)

For grunts I tried to build the 1.2.13 tests against the 1.3 libraires/headers:
: leisner at gateway 10:49:34;make testoverlay
gcc -o testoverlay testoverlay.c -g -O2 -I/usr/local/SDL-1.3-debug//include/SDL
-D_GNU_SOURCE=1 -D_REENTRANT -DHAVE_OPENGL -L/usr/local/SDL-1.3-debug//lib
-Wl,-rpath,/usr/local/SDL-1.3-debug//lib -lSDL -lpthread
testoverlay.c: In function ‘main’:
testoverlay.c:517: error: ‘SDL_PixelFormat’ has no member named 'colorkey’
testoverlay.c:518: error: ‘SDL_PixelFormat’ has no member named ‘alpha’

marty

Using 1.3 and 1.3-svn I can’t get testoverlay/testoverlay2 (under tests)
to work…
: leisner at thinkpad 11:40:45;./testoverlay
Set 640x480x24 mode
(video surface located in system memory)
Couldn’t create overlay: Unsupported texture format
: leisner at thinkpad 11:40:48;./testoverlay2
Couldn’t create overlay: Unsupported texture format

Yes, YUV support isn’t implemented in 1.3 yet. I was debating on whether
to implement it using YUV texture support or somehow try to hack in XVideo
support into an OpenGL rendering context.

Now that I know there’s demand for it, I’ll go ahead and try implementing it
using YUV textures.

See ya!
-Sam Lantinga, Lead Software Engineer, Blizzard Entertainment