SDL 1.3 Compilation broken in 5254 (Visual C++ 2008)

Visual C++ 2008 is throwing the following error in SDL revision 5253:

…\src\video\SDL_renderer_gl.c(1281) : error C2036: ‘void *’ : unknown size

Code:
data->glReadPixels(rect->x, rect->y+rect->h-1, rect->w, rect->h,
format, type, pixels + (rect->h-1)*pitch);

Cheers.[/code]

This code is very much work in progress and doesn’t work yet. You can
comment that line out for now.

Thanks!On Sun, Nov 15, 2009 at 7:34 AM, Scribe <ali_lowe at sky.com> wrote:

Visual C++ 2008 is throwing the following error in SDL revision 5253:

…\src\video\SDL_renderer_gl.c(1281) : error C2036: ‘void *’ : unknown
size

Code:

data->glReadPixels(rect->x, rect->y+rect->h-1, rect->w, rect->h,
format, type, pixels + (rect->h-1)*pitch);

Cheers.[/code]


SDL mailing list
SDL at lists.libsdl.org
http://lists.libsdl.org/listinfo.cgi/sdl-libsdl.org


-Sam Lantinga, Founder and President, Galaxy Gameworks LLC