mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-08-08 09:09:04 +00:00
Add an OSD message when taking screenshots in D3D9/D3D11
Fixes issue 6486.
This commit is contained in:
parent
6df36ec687
commit
367d6dfd65
4 changed files with 19 additions and 1 deletions
|
@ -5,11 +5,14 @@
|
|||
#ifndef _OSD_H_
|
||||
#define _OSD_H_
|
||||
|
||||
namespace OSD
|
||||
#include <string>
|
||||
|
||||
namespace OSD
|
||||
{
|
||||
|
||||
// On-screen message display
|
||||
void AddMessage(const char* str, u32 ms = 2000);
|
||||
void AddMessage(const std::string& str, u32 ms = 2000);
|
||||
void DrawMessages(); // draw the current messages on the screen. Only call once per frame.
|
||||
void ClearMessages();
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue