mirror of
https://github.com/gnif/LookingGlass.git
synced 2025-08-06 10:44:01 +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:

committed by
Geoffrey McRae

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];
|
||||
|
Reference in New Issue
Block a user