WineD3D: Add WINED3DUSAGE_OVERLAY

Michael Stefaniuc mstefani at redhat.com
Fri Oct 6 04:27:16 CDT 2006


Stefan Dösinger wrote:
>>Should we split lines like this? It's doesn't fit even on my 1600x1200
>>display.
> 
> I wanted to do a lot of reformating like this, but AJ put a veto before I even 
> started :-/
If you change the line anyway you can split it up too. It dosn't add an
additional entry to the diff.

bye
	michael

>>>diff --git a/include/wine/wined3d_types.h b/include/wine/wined3d_types.h
>>>index e70a814..278e7d7 100644
>>>--- a/include/wine/wined3d_types.h
>>>+++ b/include/wine/wined3d_types.h
>>>@@ -1053,6 +1053,7 @@ #define WINED3DUSAGE_DYNAMIC
>>> #define WINED3DUSAGE_AUTOGENMIPMAP                    0x00000400L
>>> #define WINED3DUSAGE_DMAP                             0x00004000L
>>> #define WINED3DUSAGE_MASK                             0x00004FFFL
>>>+#define WINED3DUSAGE_OVERLAY                          0x00010000L
>>
>>I think it would be safer to make it 0x10000000L instead.
> 
> Maybe, but this can easilly be changed if we have problems due to new 
> definitions in e.g. d3d10. For now we are safe as we filter out flags which 
> are invalid in d3d8 / d3d9.
> 
> 
> ------------------------------------------------------------------------
> 
> 


-- 
Michael Stefaniuc               Tel.: +49-711-96437-199
Sr. Network Engineer            Fax.: +49-711-96437-111
Red Hat GmbH                    Email: mstefani at redhat.com
Hauptstaetterstr. 58            http://www.redhat.de/
D-70178 Stuttgart



More information about the wine-devel mailing list