• Stefan Dösinger's avatar
    wined3d: Adjust the rhw transformation for offscreen rendering. · 2cdced81
    Stefan Dösinger authored
    When drawing processed vertices with the fixed function pipeline the
    projection matrix is set up to map y values from 0 to height to 1.0;
    -1.0(gl and d3d coord systems are flipped). This moves the y axis to
    the bottom of the drawing area. When later on the y inversion matrix
    is applied for offscreen rendering, the coordinate system will get
    flipped out of the viewport.
    
    This patch sets the Y range up upside down when using offscreen
    rendering, so the invymat will flip it to the correct position. This
    has to happen before the 0.375 pixel correction.
    2cdced81
Name
Last commit
Last update
..
Makefile.in Loading commit data...
arb_program_shader.c Loading commit data...
baseshader.c Loading commit data...
basetexture.c Loading commit data...
context.c Loading commit data...
cubetexture.c Loading commit data...
device.c Loading commit data...
directx.c Loading commit data...
drawprim.c Loading commit data...
glsl_shader.c Loading commit data...
indexbuffer.c Loading commit data...
palette.c Loading commit data...
pixelshader.c Loading commit data...
query.c Loading commit data...
resource.c Loading commit data...
state.c Loading commit data...
stateblock.c Loading commit data...
surface.c Loading commit data...
surface_gdi.c Loading commit data...
swapchain.c Loading commit data...
texture.c Loading commit data...
utils.c Loading commit data...
vertexbuffer.c Loading commit data...
vertexdeclaration.c Loading commit data...
vertexshader.c Loading commit data...
volume.c Loading commit data...
volumetexture.c Loading commit data...
wined3d.spec Loading commit data...
wined3d_main.c Loading commit data...
wined3d_private.h Loading commit data...
wined3d_private_types.h Loading commit data...