diff options
author | Marcus Comstedt | 2009-02-01 14:56:19 +0000 |
---|---|---|
committer | Marcus Comstedt | 2009-02-01 14:56:19 +0000 |
commit | f90e4545c27fa92cc6ba835f80551556929df43d (patch) | |
tree | 0d6b0b4f9480788ee8feabf47b3801f83a076e9f /backends/platform/dc | |
parent | 6438c40958a09561f785631d8a5dddf0a37f52d0 (diff) | |
download | scummvm-rg350-f90e4545c27fa92cc6ba835f80551556929df43d.tar.gz scummvm-rg350-f90e4545c27fa92cc6ba835f80551556929df43d.tar.bz2 scummvm-rg350-f90e4545c27fa92cc6ba835f80551556929df43d.zip |
Merged r36175 from branch-0-13-0:
Fixed alpha blending in the UI dialogs by adding alpha
computation to the blendPixelPtr() function. To minimize
impact, pre-multiplied alpha is assumed, meaning that the
blending of the R, G and B components is the same both
with and without hardware alpha.
svn-id: r36177
Diffstat (limited to 'backends/platform/dc')
-rw-r--r-- | backends/platform/dc/display.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/backends/platform/dc/display.cpp b/backends/platform/dc/display.cpp index 9ff692f3fa..c6c8594aee 100644 --- a/backends/platform/dc/display.cpp +++ b/backends/platform/dc/display.cpp @@ -390,7 +390,7 @@ void OSystem_Dreamcast::updateScreen(void) TA_CMD_POLYGON_STRIPLENGTH_2|TA_CMD_POLYGON_PACKED_COLOUR|TA_CMD_POLYGON_TEXTURED; mypoly.mode1 = TA_POLYMODE1_Z_ALWAYS|TA_POLYMODE1_NO_Z_UPDATE; mypoly.mode2 = - TA_POLYMODE2_BLEND_SRC_ALPHA|TA_POLYMODE2_BLEND_DST_INVALPHA| + TA_POLYMODE2_BLEND_SRC/*_ALPHA*/|TA_POLYMODE2_BLEND_DST_INVALPHA| TA_POLYMODE2_ENABLE_ALPHA| TA_POLYMODE2_FOG_DISABLED|TA_POLYMODE2_TEXTURE_MODULATE_ALPHA| TA_POLYMODE2_U_SIZE_512|TA_POLYMODE2_V_SIZE_512; |