This commit is contained in:
NishiOwO 2025-04-12 10:41:34 +09:00
parent 0cbe3efa6a
commit 932fb4e054
No known key found for this signature in database
GPG Key ID: 27EF69B208EB9343
2 changed files with 1 additions and 1 deletions

Binary file not shown.

Before

Width:  |  Height:  |  Size: 48 KiB

After

Width:  |  Height:  |  Size: 48 KiB

View File

@ -13,7 +13,7 @@ gf_version_t ver;
char vertxt[512];
void ShowBitmapSize(HWND hWnd, HDC hdc, const char* name, int x, int y, int w, int h) {
HBITMAP hBitmap = LoadBitmap((HINSTANCE)GetWindowLongPtr(hWnd, GWL_HINSTANCE), name);
HBITMAP hBitmap = LoadBitmap(hInst, name);
BITMAP bmp;
HDC hmdc;
GetObject(hBitmap, sizeof(bmp), &bmp);