<html><head><meta http-equiv="Content-Type" content="text/html; charset=us-ascii"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class=""><div>Am 08.01.2019 um 01:42 schrieb Daniel Ansorregui <<a href="mailto:mailszeros@gmail.com" class="">mailszeros@gmail.com</a>>:<br class=""><blockquote type="cite" class=""><br class="Apple-interchange-newline"><div class=""><div class="">Signed-off-by: Daniel Ansorregui <<a href="mailto:mailszeros@gmail.com" class="">mailszeros@gmail.com</a>><br class="">---<br class=""> include/d3d9types.h | 2 ++<br class=""> 1 file changed, 2 insertions(+)<br class=""><br class="">diff --git a/include/d3d9types.h b/include/d3d9types.h<br class="">index 4891858b3d..2e5648a8f6 100644<br class="">--- a/include/d3d9types.h<br class="">+++ b/include/d3d9types.h<br class="">@@ -827,6 +827,8 @@ typedef enum _D3DFORMAT {<br class="">     D3DFMT_MULTI2_ARGB8         =  MAKEFOURCC('M', 'E', 'T', '1'),<br class="">     D3DFMT_G8R8_G8B8            =  MAKEFOURCC('G', 'R', 'G', 'B'),<br class="">     D3DFMT_R8G8_B8G8            =  MAKEFOURCC('R', 'G', 'B', 'G'),<br class="">+    D3DFMT_DF16                 =  MAKEFOURCC('D', 'F', '1', '6'),<br class="">+    D3DFMT_DF24                 =  MAKEFOURCC('D', 'F', '2', '4'),<br class=""></div></div></blockquote></div>d3d9types.h should not have these definitions, because they are not part of Microsoft's d3d9types.h<br class=""><div class=""><br class=""></div><div class="">The tests and implementation should in theory be able to compile with Microsoft's and Mingw's headers, although nobody tests that (not even my hacky visual studio setup), and there are likely other typos that currently prevent that. For the tests just put MAKEFOURCC('D', 'F', '1', '6') etc in the place where a D3DFMT is expected.</div><div class=""><br class=""></div><div class="">(Every now and then people try to compile Windows programs against our headers and libraries, e.g. to create a Wine port of an application to a non-x86 platform. See <a href="https://wiki.winehq.org/Winelib" class="">https://wiki.winehq.org/Winelib</a> for details. That's the reason why we're aiming for header compatibility)</div><div class=""><br class=""></div><div class="">Having a WINED3DFMT_DF16 is fine because those are internal headers.</div></body></html>