more gl plugin cleanup, code moving

git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@900 8ced0084-cf51-0410-be5f-012b33b47a6e
This commit is contained in:
hrydgard
2008-10-17 12:08:28 +00:00
parent dcbc8e78d4
commit 7bbd6fda63
12 changed files with 177 additions and 192 deletions

View File

@ -387,10 +387,10 @@ void Renderer::ProcessMessages()
int time_left = (int)(it->dwTimeStamp - timeGetTime());
int alpha = 255;
if(time_left<1024)
if (time_left < 1024)
{
alpha=time_left>>2;
if(time_left<0) alpha=0;
alpha = time_left >> 2;
if (time_left < 0) alpha = 0;
}
alpha <<= 24;