the "a" variable has value 1.
Sorry for the second post, but editing a post with some codes is kinda broken.
// EDIT
Ok I finally made this working.
the value 1 in "a" means that it handles only "0" quality level (from what I have read over the Internet), I tried giving there 4 and it returned me 17 (so 0 to 16 quality?) in the variable a. So I set the sample count to 4 and quality to 1.
furthermore I had to change in depth stencil view the value D3D11_DSV_DIMENSION_TEXTURE2D to D3D11_DSV_DIMENSION_TEXTURE2DMS.
Show differencesHistory of post edits
#2jajcek
Posted 21 January 2013 - 07:38 AM
the "a" variable has value 1.
Sorry for the second post, but editing a post with some codes is kinda broken.
// EDIT
Ok I finally made this working.
the value 1 in "a" means that it handles only "0" quality level (from what I have read over the Internet), I tried giving there 4 and it returned me 17 (so 0 to 16 quality?) in the variable a. So I set the sample count to 4 and quality to 1.
furthermore I had to change in depth stencil view the value D3D11_DSV_DIMENSION_TEXTURE2D to D3D11_DSV_DIMENSION_TEXTURE2DMS.
Sorry for the second post, but editing a post with some codes is kinda broken.
// EDIT
Ok I finally made this working.
the value 1 in "a" means that it handles only "0" quality level (from what I have read over the Internet), I tried giving there 4 and it returned me 17 (so 0 to 16 quality?) in the variable a. So I set the sample count to 4 and quality to 1.
furthermore I had to change in depth stencil view the value D3D11_DSV_DIMENSION_TEXTURE2D to D3D11_DSV_DIMENSION_TEXTURE2DMS.
#1jajcek
Posted 21 January 2013 - 07:33 AM
the "a" variable has value 1.
Sorry for the second post, but editing a post with some codes is kinda broken.