mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-23 06:09:50 -06:00
- Made the message queue actually be processed.
- Made the message prints support alpha transparency. - Made the messages fade out when time <=1024. - Added a init message as a test for the queue. git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@175 8ced0084-cf51-0410-be5f-012b33b47a6e
This commit is contained in:
@ -151,6 +151,9 @@ void Video_Initialize(SVideoInitialize* _pVideoInitialize)
|
||||
_pVideoInitialize->pPeekMessages = g_VideoInitialize.pPeekMessages;
|
||||
_pVideoInitialize->pUpdateFPSDisplay = g_VideoInitialize.pUpdateFPSDisplay;
|
||||
_pVideoInitialize->pWindowHandle = g_VideoInitialize.pWindowHandle;
|
||||
|
||||
Renderer::AddMessage("Dolphin OpenGL Video Plugin v" VERSION_STRING ,5000);
|
||||
|
||||
}
|
||||
|
||||
|
||||
@ -210,8 +213,8 @@ bool ScreenShot(TCHAR *File)
|
||||
sprintf(str, "Dolphin OGL " VERSION_STRING);
|
||||
|
||||
Renderer::ResetGLState();
|
||||
Renderer::DrawText(str, left+1, top+1, 0xff000000);
|
||||
Renderer::DrawText(str, left, top, 0xffc0ffff);
|
||||
Renderer::RenderText(str, left+1, top+1, 0xff000000);
|
||||
Renderer::RenderText(str, left, top, 0xffc0ffff);
|
||||
Renderer::RestoreGLState();
|
||||
|
||||
if (Renderer::SaveRenderTarget(File, 0)) {
|
||||
|
Reference in New Issue
Block a user