adf5bb5f6a
The root problem here is that with the original error handling a NULL dereference occurs (IWineD3DBaseTexture_GetType()) when either the source or destination texture is NULL. Rewriting the error handling changes the indentation of almost the entire function though, so this patch ends up rewriting the entire function. |
||
---|---|---|
.. | ||
Makefile.in | ||
arb_program_shader.c | ||
ati_fragment_shader.c | ||
baseshader.c | ||
basetexture.c | ||
buffer.c | ||
clipper.c | ||
context.c | ||
cubetexture.c | ||
device.c | ||
directx.c | ||
drawprim.c | ||
gl_compat.c | ||
glsl_shader.c | ||
nvidia_texture_shader.c | ||
palette.c | ||
pixelshader.c | ||
query.c | ||
resource.c | ||
shader_sm1.c | ||
shader_sm4.c | ||
state.c | ||
stateblock.c | ||
surface.c | ||
surface_base.c | ||
surface_gdi.c | ||
swapchain.c | ||
swapchain_base.c | ||
swapchain_gdi.c | ||
texture.c | ||
utils.c | ||
vertexdeclaration.c | ||
vertexshader.c | ||
view.c | ||
volume.c | ||
volumetexture.c | ||
wined3d.spec | ||
wined3d_gl.h | ||
wined3d_main.c | ||
wined3d_private.h |