So I'm making an engine which can use directx10,11 and opengl.
So far everything worked well. It can render an image in opengl and directx correctly and both look the same.
Now I added rendertargets. Within DirectX it works very well and there is no problem so far. But using OpenGL the texture which I draw before is upside down and on the bottom right of the rendertarget.
Do you guys have an idea what the problem is? And why does it work without the rendertarget correctly?
If needed I can send some code. I just need to sort it first.