mirror of
https://github.com/panda3d/panda3d.git
synced 2025-10-03 18:31:55 -04:00
COLOR_BACKGROUND, not +1
This commit is contained in:
parent
7837c95cb9
commit
b76c6177d1
@ -357,7 +357,7 @@ window_proc(HWND hwnd, UINT msg, WPARAM wparam, LPARAM lparam) {
|
|||||||
HDC hdc = BeginPaint(hwnd, &ps);
|
HDC hdc = BeginPaint(hwnd, &ps);
|
||||||
|
|
||||||
RECT rect = { 0, 0, _width, _height };
|
RECT rect = { 0, 0, _width, _height };
|
||||||
FillRect(hdc, &rect, (HBRUSH)(COLOR_BTNFACE + 1));
|
FillRect(hdc, &rect, (HBRUSH)COLOR_BACKGROUND);
|
||||||
EndPaint(hwnd, &ps);
|
EndPaint(hwnd, &ps);
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user