diff --git a/external/ege b/external/ege index 7f28ae22..274ad28f 160000 --- a/external/ege +++ b/external/ege @@ -1 +1 @@ -Subproject commit 7f28ae22f21f223ff8f6776af70189f86ae715a8 +Subproject commit 274ad28f95c936d4fbc1e3843c14668b71be2024 diff --git a/sources/ewol/compositing/Image.cpp b/sources/ewol/compositing/Image.cpp index 5004dfe0..91603f9c 100644 --- a/sources/ewol/compositing/Image.cpp +++ b/sources/ewol/compositing/Image.cpp @@ -68,6 +68,7 @@ void ewol::Image::Draw(void) EWOL_ERROR("No shader ..."); return; } + ewol::openGL::Disable(ewol::openGL::FLAG_DEPTH_TEST); // set Matrix : translation/positionMatrix mat4 tmpMatrix = ewol::openGL::GetMatrix()*m_matrixApply; m_GLprogram->Use(); @@ -144,11 +145,9 @@ void ewol::Image::PrintPart(const vec2& _size, const vec2& _sourcePosStop) { if (m_angle==0.0f) { - vec3 point(0,0,0); + vec3 point = m_position; vec2 tex(_sourcePosStart.x(),_sourcePosStop.y()); - point.setX(m_position.x()); - point.setY(m_position.y()); m_coord.PushBack(point); m_coordTex.PushBack(tex); m_coordColor.PushBack(m_color);