DX11: Correct line width and point size by taking viewport rect into account. Twilight Princess map looks almost perfect except for the drop shadows around the borders: the lines are too skinny, but the corner points seem to be correct.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@7418 8ced0084-cf51-0410-be5f-012b33b47a6e
This commit is contained in:
1 parent
975ce523b6
commit
40b8db30e3
5 files changed
+40
-14
No files matched your search
@@ -38,7 +38,8 @@ public:
|
||||
void Init();
|
||||
void Shutdown();
|
||||
// Returns true on success, false on failure
|
||||
bool SetShader(u32 components, float lineWidth, float texOffset);
|
||||
bool SetShader(u32 components, float lineWidth, float texOffset,
|
||||
float vpWidth, float vpHeight);
|
||||
|
||||
private:
|
||||
|
||||
|
||||
Reference in new issue
Block a user