mirror of
https://github.com/gnif/LookingGlass.git
synced 2024-11-22 05:27:20 +00:00
[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:
parent
c665044bfa
commit
c29404eea6
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user