[DEV] add at the impage compositing the Z position
This commit is contained in:
parent
d010c5ec2d
commit
0d4cd4749b
2
external/ege
vendored
2
external/ege
vendored
@ -1 +1 @@
|
||||
Subproject commit 7f28ae22f21f223ff8f6776af70189f86ae715a8
|
||||
Subproject commit 274ad28f95c936d4fbc1e3843c14668b71be2024
|
@ -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);
|
||||
|
Loading…
x
Reference in New Issue
Block a user