[host] DXGI: fixed swapped rows and cols variables

In practice this worked out because `rows = cols`, but this will change
in future commits as I implement RGB24 damage support.
This commit is contained in:
Tudor Brindus authored and Geoffrey McRae committed 2023-11-10 06:28:05 +11:00
1 parent c665044bfa
commit c29404eea6
1 file changed
+2 -2
@@ -95,7 +95,7 @@ static CaptureResult dxgi_releaseFrame(void);
static bool ppInit(const DXGIPostProcess * pp, bool shareable);
static ID3D11Texture2D * ppRun(Texture * tex, ID3D11Texture2D * src,
int * width, int * height,
int * rows , int * cols,
int * cols , int * rows,
CaptureFormat * format);
static void ppFreeAll(void);
@@ -1468,7 +1468,7 @@ static bool ppInit(const DXGIPostProcess * pp, bool shareable)
static ID3D11Texture2D * ppRun(Texture * tex, ID3D11Texture2D * src,
int * width, int * height,
int * rows, int * cols,
int * cols , int * rows,
CaptureFormat * format)
{
PostProcessInstance * inst;