f91-men at nada.kth.se
Tue Jun 20 13:05:42 PDT 2000
>BTW, the code relies on OpenGL 1.2 for GL_UNSIGNED_SHORT_565. This is no
>problem on Linux but I don't know (and care) about which version of
>OpenGL comes with MSVC...
Why not surround it with #ifdefs then. This Solaris box doesn't have it,
and others might not either.
(argh, these diffs are hopeless to read. unified, please!)
>< SDL_VideoSurface = SDL_CreateRGBSurface(
This is b0rken on big-endian machines. (I think it was in the original too.)
(Thanks to people on #sdl who helped me understand that the order is always
RGBA regardless of byte sex.) The rgb565 code seems fine.
More information about the SDL