mirror of
https://github.com/reactos/reactos.git
synced 2025-08-06 13:13:00 +00:00
[MSPAINT] Trivial improvements
- Use SetPixelV instead of SetPixel. - BI_RGB is zero. - Use CS_HREDRAW and CS_VREDRAW. CORE-18867
This commit is contained in:
parent
3b4422b41b
commit
318b2e786d
6 changed files with 6 additions and 13 deletions
|
@ -33,7 +33,6 @@ CreateDIBWithProperties(int width, int height)
|
|||
bmi.bmiHeader.biHeight = height;
|
||||
bmi.bmiHeader.biPlanes = 1;
|
||||
bmi.bmiHeader.biBitCount = 24;
|
||||
bmi.bmiHeader.biCompression = BI_RGB;
|
||||
return CreateDIBSection(NULL, &bmi, DIB_RGB_COLORS, NULL, NULL, 0);
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue