DirectDrawRenderer - opengl non power of 2 windows

Nathan Williams nathan.andrew.williams at gmail.com
Sat Mar 24 17:59:44 CDT 2007


It crashes at:
dlls/wined3d/surface.c
d3dfmt_convert_surface:
1593                     *dest++ = table[color][0];

http://source.winehq.org/git/wine.git/?a=blob;f=dlls/wined3d/surface.c;hb=HEAD#l1593

If I hack that loop to be the right height, it works without complaint.

The original setting of the height to be a power of 2 is:
http://source.winehq.org/git/wine.git/?a=blob;f=dlls/wined3d/surface.c;hb=HEAD#l3195


On 3/25/07, Stefan Dösinger <stefandoesinger at gmx.at> wrote:
> Is the crashing call done from flush_to_framebuffer_* or LoadTexture?
>

-- 
Nathan



More information about the wine-devel mailing list