google-code-export / monoxna

Automatically exported from code.google.com/p/monoxna
Other
1 stars 1 forks source link

[Patch]Correction of the "RenderTargetUsage" and "TextureProcessorOutputFormat" Enums #82

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
Hi,

atached a patch that is solving incorrect numbers by the two Enums.

by

Original issue reported on code.google.com by panzer1...@googlemail.com on 13 Jan 2012 at 1:49

Attachments:

GoogleCodeExporter commented 9 years ago
The patch only include fix for the first enum you mention. In addition I've 
found no evidence of the enum in the repository being wrong by looking at the 
documentation.

Can you elaborate why you would like to change these to enums?

Original comment by lav...@gmail.com on 19 Jan 2012 at 10:51

GoogleCodeExporter commented 9 years ago
Yes, I can elaborate it.

You know, I made an report with the ANXStatusComparer 
(file:///C:/Users/Martin/AppData/Local/Temp/Temp1_Summary.zip/Summary.html#Wrong
Enums).

The two Enums stand by "Wrong Enums".

RenderTargetUsage
XNA

DiscardContents=0
PreserveContents=1
PlatformContents=2

MonoXna

DiscardContents=0
PlatformContents=1
PreserveContents=2

You can see, that the number of the "PreserveContents" and "PlatformContents" 
are wrong.

Best Grettings Postremus

Original comment by panzer1...@googlemail.com on 20 Jan 2012 at 6:03