Mercurial > sdl-ios-xcode
comparison src/video/win32/SDL_gdirender.c @ 2735:204be4fc2726
Final merge of Google Summer of Code 2008 work...
Port SDL 1.3 to the Nintendo DS
by Darren Alton, mentored by Sam Lantinga
author | Sam Lantinga <slouken@libsdl.org> |
---|---|
date | Wed, 27 Aug 2008 15:10:03 +0000 |
parents | 926294b2bb4e |
children | 5651642f4a78 |
comparison
equal
deleted
inserted
replaced
2734:dd25eabe441c | 2735:204be4fc2726 |
---|---|
618 SelectObject(data->memory_hdc, texturedata->hbm); | 618 SelectObject(data->memory_hdc, texturedata->hbm); |
619 if (texturedata->hpal) { | 619 if (texturedata->hpal) { |
620 SelectPalette(data->memory_hdc, texturedata->hpal, TRUE); | 620 SelectPalette(data->memory_hdc, texturedata->hpal, TRUE); |
621 RealizePalette(data->memory_hdc); | 621 RealizePalette(data->memory_hdc); |
622 } | 622 } |
623 if (texture-> | 623 if (texture->blendMode & |
624 blendMode & (SDL_TEXTUREBLENDMODE_MASK | SDL_TEXTUREBLENDMODE_BLEND)) | 624 (SDL_TEXTUREBLENDMODE_MASK | SDL_TEXTUREBLENDMODE_BLEND)) { |
625 { | |
626 BLENDFUNCTION blendFunc = { | 625 BLENDFUNCTION blendFunc = { |
627 AC_SRC_OVER, | 626 AC_SRC_OVER, |
628 0, | 627 0, |
629 texture->a, | 628 texture->a, |
630 AC_SRC_ALPHA | 629 AC_SRC_ALPHA |