mirror of
https://github.com/gnif/LookingGlass.git
synced 2024-12-22 21:43:40 +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)
|
||||
{
|
||||
this.width = *cols;
|
||||
this.width = *cols * 3 / 4;
|
||||
this.height = *rows;
|
||||
|
||||
char sOutputWidth[6], sOutputHeight[6];
|
||||
|
Loading…
Reference in New Issue
Block a user