mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-28 11:49:06 +00:00
If perspective divide is enabled and texture coordinate Z is 0 then leave texture coordinates alone. Fixes issue 3676.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@6964 8ced0084-cf51-0410-be5f-012b33b47a6e
This commit is contained in:
parent
fa95b7d89f
commit
d5e5730fef
5 changed files with 10 additions and 12 deletions
|
@ -28,6 +28,7 @@
|
|||
#include "Statistics.h"
|
||||
#include "DebugUtil.h"
|
||||
#include "CommandProcessor.h"
|
||||
#include "SWVideoConfig.h"
|
||||
|
||||
typedef void (*DecodingFunction)(u32);
|
||||
DecodingFunction currentFunction = NULL;
|
||||
|
@ -48,7 +49,11 @@ void DecodePrimitiveStream(u32 iBufferSize)
|
|||
{
|
||||
u32 vertexSize = vertexLoader.GetVertexSize();
|
||||
|
||||
if(g_bSkipCurrentFrame)
|
||||
bool skipPrimitives = g_bSkipCurrentFrame ||
|
||||
stats.thisFrame.numDrawnObjects < g_SWVideoConfig.drawStart ||
|
||||
stats.thisFrame.numDrawnObjects >= g_SWVideoConfig.drawEnd;
|
||||
|
||||
if (skipPrimitives)
|
||||
{
|
||||
while (streamSize > 0 && iBufferSize >= vertexSize)
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue