mirror of
https://github.com/gnif/LookingGlass.git
synced 2025-05-18 04:21:29 +00:00
[host] DXGI: rescale RGB24 texture to 3/4ths the input width
Now that data isn't packed across rows, we can decrease the amount of texture memory we require.
This commit is contained in:
parent
1da50d220e
commit
6329779893
@ -78,7 +78,7 @@ static bool rgb24_configure(void * opaque,
|
|||||||
|
|
||||||
if (!this.pshader)
|
if (!this.pshader)
|
||||||
{
|
{
|
||||||
this.width = *cols;
|
this.width = *cols * 3 / 4;
|
||||||
this.height = *rows;
|
this.height = *rows;
|
||||||
|
|
||||||
char sOutputWidth[6], sOutputHeight[6];
|
char sOutputWidth[6], sOutputHeight[6];
|
||||||
|
Loading…
x
Reference in New Issue
Block a user