Commit Graph

21 Commits

Author SHA1 Message Date
Alexander Dorofeyev 59fc5a75e0 ddraw: Force surfaces without memory flags to video memory on creation.
Also removes now redundant setting of vidmem flag on rendertargets, prevents 
adding vidmem flag when sysmem flag is present. Fixes missing textures in Forsaken.
2008-07-17 11:21:39 +02:00
Francois Gouget 476cb96b75 ddraw: Remove trailing spaces in Wine traces. 2008-05-30 10:01:11 +02:00
Jens Albretsen 46ef2e06fc ddraw: IDirect3DTextureImpl_Load failed when texture was loading onto itself. 2008-05-28 19:31:29 +02:00
Cihan Altinay 49c682470c ddraw: Fix refcounting of palettes. 2008-03-17 15:16:03 +01:00
Alexander Dorofeyev 9af59fb7f0 ddraw: Release interfaces when exiting with error. 2008-02-21 12:53:00 +01:00
Michael Stefaniuc 01cba07624 ddraw: Add missing unlock on error path. Found by Smatch. 2008-02-19 20:54:50 +01:00
Alexander Dorofeyev ed44f9d130 ddraw: Fix palette handling in IDirect3DTexture_Load.
This fixes a potential refcounting problem and makes the function fail with NULL
destination texture's palette and non-NULL source palette like it does on native.
2008-02-19 13:39:17 +01:00
Alexander Dorofeyev 18143f693b ddraw: Remove redundant iface<->impl casts in IDirect3DTextureImpl_Load.
The implementation pointer retrieved from interface ptr wasn't being used for
anything except retrieving same interface ptr back.
2007-12-31 17:48:39 +01:00
Alexander Dorofeyev 9dbdacbd82 ddraw: Release palette interfaces. 2007-12-31 17:48:16 +01:00
Stefan Dösinger 9aab44ded5 ddraw: Hold the lock in IDirect3DTexture methods. 2007-06-05 12:22:03 +02:00
Andrew Talbot 0629946e65 ddraw: Exclude unused headers. 2007-05-01 11:42:24 +02:00
H. Verbeet 2465fcb368 ddraw: Win64 printf format warning fixes. 2006-10-11 12:08:28 +02:00
Andrew Talbot 8968f8d55d ddraw: Cast-qual warning fix. 2006-09-10 10:16:41 +02:00
Stefan Dösinger 1e2413f4f4 ddraw: Implement proper handle management. 2006-06-19 11:14:18 +02:00
Stefan Dösinger c8901d6f62 ddraw: Rewrite most of ddraw using WineD3D. 2006-06-15 16:51:16 +02:00
Jonathan Ernst 360a3f9142 Update the address of the Free Software Foundation. 2006-05-23 14:11:13 +02:00
Christian Costa 85155cc6be Disable depth test when there is no Z buffer attached.
Initialise texture states at creation instead of when tex name is
generated.
2005-10-12 21:05:40 +00:00
Alexandre Julliard 49b7fdcfc0 Removed the broken mmap64 configure check, and moved the
_FILE_OFFSET_BITS define to wine/port.h. Made sure that all files that
need the define include it.
2005-08-03 21:25:10 +00:00
Mike McCormack 82f9c97cbf Warning fixes. 2005-08-01 09:22:26 +00:00
Alexandre Julliard 76ed2835cd Make CONST_VTABLE the default in the Wine source. 2005-07-26 20:10:51 +00:00
Christian Costa 69c3e6ff11 Moved d3ddevice and direct3d objects files to ddraw root dir.
Renamed all remaining files.
2005-06-06 15:51:50 +00:00