[SNDREC32] Fix incorrect opaque text rendering (#2760)

Remove "Opaque" parameter so that the transparency can be correctly used.
This commit is contained in:
Kyle Katarn 2020-05-09 14:09:58 +02:00 committed by GitHub
parent ac01e4cd72
commit d839e3d9b4
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -820,7 +820,7 @@ WndProc(HWND hWnd,
ExtTextOut(hdc, ExtTextOut(hdc,
STRPOS_X, STRPOS_X,
STRPOS_Y, STRPOS_Y,
ETO_OPAQUE, 0,
0, 0,
str_tmp, str_tmp,
_tcslen(str_tmp), _tcslen(str_tmp),
@ -844,7 +844,7 @@ WndProc(HWND hWnd,
ExtTextOut(hdc, ExtTextOut(hdc,
STRDUR_X, STRDUR_X,
STRDUR_Y, STRDUR_Y,
ETO_OPAQUE, 0,
0, 0,
str_tmp, str_tmp,
_tcslen(str_tmp), _tcslen(str_tmp),
@ -858,7 +858,7 @@ WndProc(HWND hWnd,
ExtTextOut(hdc, ExtTextOut(hdc,
STRBUF_X, STRBUF_X,
STRBUF_Y, STRBUF_Y,
ETO_OPAQUE, 0,
0, 0,
str_tmp, str_tmp,
_tcslen(str_tmp), _tcslen(str_tmp),
@ -874,7 +874,7 @@ WndProc(HWND hWnd,
ExtTextOut(hdc, ExtTextOut(hdc,
STRFMT_X, STRFMT_X,
STRFMT_Y, STRFMT_Y,
ETO_OPAQUE, 0,
0, 0,
str_tmp, str_tmp,
_tcslen(str_tmp), _tcslen(str_tmp),
@ -888,7 +888,7 @@ WndProc(HWND hWnd,
ExtTextOut(hdc, ExtTextOut(hdc,
STRCHAN_X, STRCHAN_X,
STRCHAN_Y, STRCHAN_Y,
ETO_OPAQUE, 0,
0, 0,
str_tmp, str_tmp,
_tcslen(str_tmp), _tcslen(str_tmp),