[DEBUG] remove openGL call not existing in openGL-ES2

This commit is contained in:
Edouard DUPIN 2017-01-18 22:02:36 +01:00
parent 111b3bf587
commit 487d265b66
2 changed files with 0 additions and 6 deletions

View File

@ -169,7 +169,6 @@ void ewol::Widget::systemDraw(const ewol::DrawProperty& _displayProp) {
if (tmpSize.m_size.x() <= 0 || tmpSize.m_size.y() <= 0) {
return;
}
glViewport( (int32_t)tmpSize.m_origin.x(),
(int32_t)tmpSize.m_origin.y(),
(int32_t)tmpSize.m_size.x(),

View File

@ -79,11 +79,6 @@ void ewol::widget::Windows::sysDraw() {
gale::openGL::disable(gale::openGL::flag_stencilTest);
gale::openGL::disable(gale::openGL::flag_alphaTest);
gale::openGL::disable(gale::openGL::flag_fog);
#if ( !defined(__TARGET_OS__Android) \
&& !defined(__TARGET_OS__IOs) \
&& !defined(__TARGET_OS__Web))
glPixelZoom(1.0,1.0);
#endif
gale::openGL::disable(gale::openGL::flag_texture2D);
gale::openGL::disable(gale::openGL::flag_depthTest);