Merge Fail: Make sure we are using the interface file to get backbuffer dimensions. GL helper function was duplicated.
This commit is contained in:
1 parent
67c1c6b062
commit
01cdcc83a3
3 files changed
+2
-68
No files matched your search
@@ -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,
|
||||
|
||||
Reference in new issue
Block a user