mirror of
https://git.ryujinx.app/ryubing/ryujinx.git
synced 2025-07-26 07:39:52 -06:00
Dummy out gl queries with 0 draws, remove glFlush call (#1773)
This commit is contained in:
@ -10,6 +10,8 @@ namespace Ryujinx.Graphics.OpenGL
|
||||
{
|
||||
class Pipeline : IPipeline, IDisposable
|
||||
{
|
||||
internal ulong DrawCount { get; private set; }
|
||||
|
||||
private Program _program;
|
||||
|
||||
private bool _rasterizerDiscard;
|
||||
@ -1196,6 +1198,8 @@ namespace Ryujinx.Graphics.OpenGL
|
||||
|
||||
private void PreDraw()
|
||||
{
|
||||
DrawCount++;
|
||||
|
||||
_vertexArray.Validate();
|
||||
|
||||
if (_unit0Texture != null)
|
||||
|
Reference in New Issue
Block a user