[DEBUG] remove openGL call not existing in openGL-ES2
This commit is contained in:
parent
111b3bf587
commit
487d265b66
@ -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(),
|
||||
|
@ -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);
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user