GPU: Texture bit should be ignored when drawing lines

Fixes line flickering in Vagrant Story.
This commit is contained in:
Connor McLaughlin
2020-02-07 00:10:36 +09:00
parent d67133b537
commit 7e862cd63e
2 changed files with 5 additions and 2 deletions

View File

@ -274,7 +274,7 @@ void GPU_HW::CopyVRAM(u32 src_x, u32 src_y, u32 dst_x, u32 dst_y, u32 width, u32
void GPU_HW::DispatchRenderCommand(RenderCommand rc, u32 num_vertices, const u32* command_ptr)
{
TextureMode texture_mode;
if (rc.texture_enable)
if (rc.IsTexturingEnabled())
{
// texture page changed - check that the new page doesn't intersect the drawing area
if (m_draw_mode.IsTexturePageChanged())