Re: SDL 2.0.5 PRERELEASE

[email protected]
Newsgroups gmane.comp.lib.sdl
Message-ID <[email protected]>
Hi,

can anyone confirm that calling SDL_RenderSetIntegerScale(renderer,  
SDL_TRUE) on a software
surface triggers a divide by zero error in the pre-release?

SDL_Surface *sf = SDL_CreateRGBSurface(0, 100, 100, 32, 0xFF000000,  
0x00FF0000, 0x0000FF00, 0x000000FF);
SDL_Renderer *r = SDL_CreateSoftwareRenderer(sf);
int ret = SDL_RenderSetIntegerScale(renderer, SDL_TRUE); /* triggers  
divide by zero */

Cheers
Marcus
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.