https://git.reactos.org/?p=reactos.git;a=commitdiff;h=d839e3d9b491cf39de04a483f016064bfcf0d854

commit d839e3d9b491cf39de04a483f016064bfcf0d854
Author:     Kyle Katarn <[email protected]>
AuthorDate: Sat May 9 14:09:58 2020 +0200
Commit:     GitHub <[email protected]>
CommitDate: Sat May 9 21:09:58 2020 +0900

    [SNDREC32] Fix incorrect opaque text rendering (#2760)
    
    Remove "Opaque" parameter so that the transparency can be correctly used.
---
 base/applications/sndrec32/sndrec32.cpp | 10 +++++-----
 1 file changed, 5 insertions(+), 5 deletions(-)

diff --git a/base/applications/sndrec32/sndrec32.cpp 
b/base/applications/sndrec32/sndrec32.cpp
index 18bf8f37d1a..450179a8386 100644
--- a/base/applications/sndrec32/sndrec32.cpp
+++ b/base/applications/sndrec32/sndrec32.cpp
@@ -820,7 +820,7 @@ WndProc(HWND hWnd,
             ExtTextOut(hdc,
                        STRPOS_X,
                        STRPOS_Y,
-                       ETO_OPAQUE,
+                       0,
                        0,
                        str_tmp,
                        _tcslen(str_tmp),
@@ -844,7 +844,7 @@ WndProc(HWND hWnd,
             ExtTextOut(hdc,
                        STRDUR_X,
                        STRDUR_Y,
-                       ETO_OPAQUE,
+                       0,
                        0,
                        str_tmp,
                        _tcslen(str_tmp),
@@ -858,7 +858,7 @@ WndProc(HWND hWnd,
             ExtTextOut(hdc,
                        STRBUF_X,
                        STRBUF_Y,
-                       ETO_OPAQUE,
+                       0,
                        0,
                        str_tmp,
                        _tcslen(str_tmp),
@@ -874,7 +874,7 @@ WndProc(HWND hWnd,
             ExtTextOut(hdc,
                        STRFMT_X,
                        STRFMT_Y,
-                       ETO_OPAQUE,
+                       0,
                        0,
                        str_tmp,
                        _tcslen(str_tmp),
@@ -888,7 +888,7 @@ WndProc(HWND hWnd,
             ExtTextOut(hdc,
                        STRCHAN_X,
                        STRCHAN_Y,
-                       ETO_OPAQUE,
+                       0,
                        0,
                        str_tmp,
                        _tcslen(str_tmp),

Reply via email to