mirror of
https://github.com/Redot-Engine/redot-engine.git
synced 2025-12-06 15:21:56 -05:00
Fix for Clang dev_mode Windows build
This commit is contained in:
@@ -667,7 +667,7 @@ Ref<Image> DisplayServerWindows::screen_get_image(int p_screen) const {
|
|||||||
SelectObject(hdc, hbm);
|
SelectObject(hdc, hbm);
|
||||||
BitBlt(hdc, 0, 0, width, height, dc, p1.x, p1.y, SRCCOPY);
|
BitBlt(hdc, 0, 0, width, height, dc, p1.x, p1.y, SRCCOPY);
|
||||||
|
|
||||||
BITMAPINFO bmp_info = { 0 };
|
BITMAPINFO bmp_info = {};
|
||||||
bmp_info.bmiHeader.biSize = sizeof(bmp_info.bmiHeader);
|
bmp_info.bmiHeader.biSize = sizeof(bmp_info.bmiHeader);
|
||||||
bmp_info.bmiHeader.biWidth = width;
|
bmp_info.bmiHeader.biWidth = width;
|
||||||
bmp_info.bmiHeader.biHeight = -height;
|
bmp_info.bmiHeader.biHeight = -height;
|
||||||
|
|||||||
Reference in New Issue
Block a user