Revert "Fix T81002: Images drawn with the Python gpu module no longer draw on top in the Image Editor"

This reverts commit 085329f114.

It didn't render rendered viewport overlays correctly.
This commit is contained in:
Jeroen Bakker 2020-09-29 09:53:55 +02:00
parent 58b8724a48
commit 32d4a67017
Notes: blender-bot 2023-02-14 06:49:54 +01:00
Referenced by commit 89abc14d6c, Fix T81002: Images drawn with the Python gpu module no longer draw on top in the Image Editor
Referenced by issue #81002, Images drawn with the Python gpu module no longer draw on top in the Image Editor
1 changed files with 1 additions and 0 deletions

View File

@ -9,5 +9,6 @@ out vec2 texCoord_interp;
void main()
{
gl_Position = ModelViewProjectionMatrix * vec4(pos.xy, 0.0f, 1.0f);
gl_Position.z = 1.0;
texCoord_interp = texCoord;
}