Commit Graph

72 Commits

Author SHA1 Message Date
Nikolay Sivov f6689b6ce2 d3drm: Avoid HRESULT codes for BOOL retval methods (PVS-Studio).
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Stefan Dösinger <stefan@codeweavers.com>
Signed-off-by: André Hentschel <nerv@dawncrow.de>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2015-10-13 22:19:18 +09:00
Aaryaman Vasishta dbee90a728 d3drm: Move Release from frame2->frame3. 2015-04-30 16:50:09 +09:00
Aaryaman Vasishta 1e3737f152 d3drm: Move AddRef from frame2->frame3. 2015-04-30 16:50:04 +09:00
Aaryaman Vasishta b8b7a72f26 d3drm: Move QueryInterface from frame2->frame3. 2015-04-30 16:49:58 +09:00
Aaryaman Vasishta 1b1d77268f d3drm: Add more interfaces to be queried from IDirect3DRMFrame2::QueryInterface. 2015-04-10 17:13:17 +09:00
Aaryaman Vasishta 415b7c1fec d3drm: Fix IDirect3DRMFrame2::QueryInterface returning incorrect HRESULT. 2015-04-10 17:13:13 +09:00
Aaryaman Vasishta bb83e30635 d3drm: Fix hard-coded HRESULT return in Direct3DRMFrame_create. 2015-03-31 00:04:44 +09:00
Andrey Gusev e7f0a8a081 Assorted spelling and typos fixes. 2014-01-27 17:00:11 +01:00
Henri Verbeet 7dc0738911 d3drm: Initialize the actual array in d3drm_light_array_create() as well. 2013-10-28 14:22:41 +01:00
Henri Verbeet c0d05d9f4f d3drm: Initialize the actual array in d3drm_visual_array_create() as well. 2013-10-28 14:22:38 +01:00
Henri Verbeet bf235a6669 d3drm: Initialize the actual array in d3drm_frame_array_create() as well. 2013-10-28 14:22:36 +01:00
Marcus Meissner 8431e75af3 d3drm: Added some freeing of memory in error paths (Coverity). 2013-10-14 10:48:23 +02:00
Henri Verbeet 34548b4dfe d3drm: Get rid of the IDirect3DRMFrameImpl typedef. 2013-10-11 11:06:25 +02:00
Henri Verbeet 666c6b36f1 d3drm: Get rid of the IDirect3DRMFrameArrayImpl typedef. 2013-10-11 11:06:23 +02:00
Henri Verbeet 3ffd998c46 d3drm: Get rid of the IDirect3DRMVisualArrayImpl typedef. 2013-10-10 10:45:05 +02:00
Henri Verbeet cb49cff060 d3drm: Introduce impl_from_IDirect3DRMFrameArray(). 2013-10-10 10:45:02 +02:00
Henri Verbeet 44f5d4bd64 d3drm: Introduce impl_from_IDirect3DRMVisualArray(). 2013-10-09 11:11:11 +02:00
Henri Verbeet cd16932bf3 d3drm: Compare with the correct IID in IDirect3DRMVisualArrayImpl_QueryInterface(). 2013-10-09 11:11:09 +02:00
Henri Verbeet e9f2fce16b d3drm: Get rid of the IDirect3DRMLightArrayImpl typedef. 2013-10-08 09:09:09 +02:00
Henri Verbeet 7a0390d85a d3drm: Avoid VOID. 2013-09-23 20:38:18 +02:00
Henri Verbeet 39991e759a d3drm: Avoid LPDWORD. 2013-09-10 11:10:14 +02:00
Henri Verbeet 16c48f9d84 d3drm: Avoid LPVOID. 2013-09-09 22:09:58 +02:00
Henri Verbeet a9f3bc43e5 d3drm: Avoid LPSTR. 2013-09-09 22:09:58 +02:00
Henri Verbeet 75deeb4589 d3drm: Avoid LPCSTR. 2013-09-06 12:00:26 +02:00
Henri Verbeet be6b54f52f d3drm: Avoid LPUNKNOWN. 2013-08-20 11:50:41 +02:00
Henri Verbeet ee6734e848 d3drm: Avoid LPDIRECT3DRMLIGHTARRAY. 2013-08-15 16:24:13 +02:00
Henri Verbeet 861b1053e2 d3drm: Avoid LPDIRECT3DRMVISUALARRAY. 2013-06-06 11:47:26 +02:00
Henri Verbeet 8c882f6819 d3drm: Avoid LPDIRECT3DRMFRAMEARRAY. 2013-06-05 17:31:40 +02:00
Henri Verbeet 735e69f94e d3drm: Avoid LPDIRECT3DRMMATERIAL2. 2013-05-29 12:12:33 +02:00
Henri Verbeet 19a519e90a d3drm: Avoid LPDIRECT3DRMMATERIAL. 2013-05-28 14:55:15 +02:00
Henri Verbeet 397cc3f42d d3drm: Avoid LPDIRECT3DRMTEXTURE3. 2013-05-28 14:55:12 +02:00
Henri Verbeet 769efb1f63 d3drm: Avoid LPDIRECT3DRMTEXTURE. 2013-05-27 19:29:04 +02:00
Henri Verbeet b8e3cee783 d3drm: Avoid LPDIRECT3DRMLIGHT. 2013-04-25 13:40:00 +02:00
Henri Verbeet c179bee494 d3drm: Avoid LPDIRECT3DRMVISUAL. 2013-04-22 15:26:17 +02:00
Henri Verbeet 65f9ddc2ca d3drm: Avoid LPDIRECT3DRMFRAME3. 2013-04-22 15:26:15 +02:00
Henri Verbeet c050cdb3d2 d3drm: Avoid LPDIRECT3DRMFRAME. 2013-04-19 10:43:48 +02:00
Henri Verbeet 0c228f5faf d3drm: Just use RGBA_MAKE.
D3DCOLOR_ARGB is a d3d8+ thing, ddraw has RGBA_MAKE.
2013-04-15 15:16:22 +02:00
Michael Stefaniuc 5ef8a8b2f2 d3drm: Remove ERR() on HeapAlloc failure for small sizes known at compile time. 2013-02-08 10:44:31 +01:00
Henri Verbeet 740c44f5ff d3drm: Avoid LPD3DRMMATERIALOVERRIDE. 2013-01-28 14:05:26 +01:00
Henri Verbeet 1557d2e4ff d3drm: Avoid LPD3DRMBOX. 2013-01-25 11:18:02 +01:00
Henri Verbeet 5114cbd23c d3drm: Avoid LPD3DRMRAY. 2013-01-24 14:32:55 +01:00
Henri Verbeet f90bdedd90 d3drm: Avoid LPD3DVECTOR. 2013-01-23 12:48:28 +01:00
Henri Verbeet e650f49f0e d3drm: Avoid LPD3DVALUE. 2013-01-23 12:48:20 +01:00
Henri Verbeet 34dd6ff2e4 d3drm: Avoid LPDIRECTDRAWSURFACE. 2012-11-20 11:44:11 +01:00
Frédéric Delanoy 1ae9acb0df d3drm: Fix a leak (coverity). 2012-11-08 15:37:53 +01:00
André Hentschel 2a42410e7c d3drm: Fix memcpy arguments for matrix transformations (coverity). 2012-10-19 11:16:16 +02:00
André Hentschel c10d95b64a d3drm: Add SceneBackground handling. 2012-08-13 17:01:43 +02:00
Michael Stefaniuc 9e183990f2 d3drm: Make IDirect3DRMx_CreateFrame() more forgiving about the parent frame. 2012-07-02 10:54:49 +02:00
Michael Stefaniuc 4754a3d605 d3drm: Get rid of unsafe_impl_from_IDirect3DRMFrame2(). 2012-06-27 11:36:41 +02:00
André Hentschel 9014211796 d3drm: Implement IDirect3DRMFrameX_GetClassName. 2012-06-15 10:31:33 +02:00