Click here to Skip to main content
15,885,757 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
hello, can someone help me with this?
i am new in programming :((

now, i try to use directx for my game
i found the problem that the display picture is blur
screen doesn't show clear image.

first, i compared with my previous program which doesn't have any problems.

i found that my previous program use png with bit depth 32 bit.
so i changed my current program's picture from 24bit to 32bit (bit depth).

it still did not work.
my current program's screen is still blur!! I don't understand why??
please, help me~
Posted

1 solution

It could be that your pixel coordinates are off by 0.5 - try reading through this:

Directly Mapping Texels to Pixels[^]
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900