mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-04-27 23:08:47 +00:00
Merge Fail: Make sure we are using the interface file to get backbuffer dimensions. GL helper function was duplicated.
This commit is contained in:
parent
67c1c6b062
commit
01cdcc83a3
3 changed files with 2 additions and 68 deletions
|
@ -94,8 +94,8 @@ void SWRenderer::Prepare()
|
|||
void SWRenderer::RenderText(const char* pstr, int left, int top, u32 color)
|
||||
{
|
||||
#ifndef USE_GLES
|
||||
int nBackbufferWidth = (int)OpenGL_GetBackbufferWidth();
|
||||
int nBackbufferHeight = (int)OpenGL_GetBackbufferHeight();
|
||||
int nBackbufferWidth = (int)GLInterface->GetBackBufferWidth();
|
||||
int nBackbufferHeight = (int)GLInterface->GetBackBufferHeight();
|
||||
|
||||
s_pfont->printMultilineText(pstr,
|
||||
left * 2.0f / (float)nBackbufferWidth - 1,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue