Remove recently added GetOpenGLScaleFactor()

It has become unnecessary after the previous commit, as now the generic
GetContentScaleFactor() can be used instead of it on all platforms, so
revert the changes of f6cc8ff52c (Add GetOpenGLScaleFactor() to abstract
OpenGL coordinates scaling, 2020-07-10).

See https://github.com/wxWidgets/wxWidgets/pull/1944

See #17391.
This commit is contained in:
Vadim Zeitlin
2020-07-18 23:51:05 +02:00
parent cd8b2d3096
commit 379e718a33
12 changed files with 6 additions and 50 deletions

View File

@@ -562,11 +562,6 @@ bool wxGLCanvas::IsAGLMultiSampleAvailable()
return s_isMultiSampleAvailable != 0;
}
double wxGLCanvas::GetOpenGLScaleFactor() const
{
return GetContentScaleFactor();
}
/* static */
bool wxGLCanvasBase::IsDisplaySupported(const wxGLAttributes& dispAttrs)
{