I found the problem.
I changed the projection matrix for the game I am developing so that I could give depth to 2d images, the GUI for some reason does not like it. Images were being drawn according to the z-Position and not the order in which they are drawn to screen.
Thanks for the support and sorry for being a right pain in the arse.
I changed the projection matrix for the game I am developing so that I could give depth to 2d images, the GUI for some reason does not like it. Images were being drawn according to the z-Position and not the order in which they are drawn to screen.
Thanks for the support and sorry for being a right pain in the arse.