removed obsolete override of setViewPortInPoints

This commit is contained in:
Dale Stammen 2015-06-11 07:59:16 -07:00
parent 1a9056cf14
commit 0f64a2d192
2 changed files with 0 additions and 18 deletions

View File

@ -470,22 +470,6 @@ Vec2 GLViewImpl::GetPoint(PointerEventArgs^ args) {
}
void GLViewImpl::setViewPortInPoints(float x , float y , float w , float h)
{
glViewport((GLint) (x * _scaleX + _viewPortRect.origin.x),
(GLint) (y * _scaleY + _viewPortRect.origin.y),
(GLsizei) (w * _scaleX),
(GLsizei) (h * _scaleY));
}
void GLViewImpl::setScissorInPoints(float x , float y , float w , float h)
{
glScissor((GLint) (x * _scaleX + _viewPortRect.origin.x),
(GLint) (y * _scaleY + _viewPortRect.origin.y),
(GLsizei) (w * _scaleX),
(GLsizei) (h * _scaleY));
}
void GLViewImpl::QueueBackKeyPress()
{
std::shared_ptr<BackButtonEvent> e(new BackButtonEvent());

View File

@ -52,8 +52,6 @@ public:
virtual bool isOpenGLReady();
virtual void end();
virtual void swapBuffers();
virtual void setViewPortInPoints(float x , float y , float w , float h);
virtual void setScissorInPoints(float x , float y , float w , float h);
Windows::Graphics::Display::DisplayOrientations getDeviceOrientation() {return m_orientation;};
Size getRenerTargetSize() const { return Size(m_width, m_height); }