mirror of
https://github.com/obsproject/obs-studio.git
synced 2026-10-28 03:44:52 +08:00
Various: Don't use boolean bitfields
Using bitfields causes less optimized code generation and the memory savings are minimal as none of the objects are instantiated enough times to be worth it. See https://blogs.msdn.microsoft.com/oldnewthing/20081126-00/?p=20073
This commit is contained in:
@@ -32,8 +32,8 @@ struct d3d9_data {
|
||||
uint32_t cy;
|
||||
D3DFORMAT d3d9_format;
|
||||
DXGI_FORMAT dxgi_format;
|
||||
bool using_shtex : 1;
|
||||
bool using_scale : 1;
|
||||
bool using_shtex;
|
||||
bool using_scale;
|
||||
|
||||
/* shared texture */
|
||||
IDirect3DSurface9 *d3d9_copytex;
|
||||
|
||||
Reference in New Issue
Block a user