OpenGL interprets screen-space positions as the center of the pixel
DirectX interprets screen-space positions as the top-left corner of the pixel
(Or is it the other way round?)
Just because no one else mentioned this, OpenGL and Direct3D 10 assume center-points for pixels.
Direct3D 9, Direct3D 11, and GDI use pixel corners.
Right now I am resizing my viewport but it seems as if the width and height parameters are ignored, the frame will shift by my x and y coordinates but it wont use the width and height i specified so that it is running out of my window.
Do I have to set the backbuffer width and height? Do I have to change something at my orthogonal projection or my translation matrix?
If you are only setting the viewport on a resize, you need to also update your orthogonal matrix.
I got a problem that the textures are clipped when they reach the edges of the viewport. I am creating my VertexBuffer with the DoNotClip Flag and I am setting the RenderState.Clipping to false. Am I missing another flag?
I don’t see the problem.
The viewport should be the size of the screen. If anything goes out of the viewport it would be outside of the window and you would never know if it was clipped or not.
I see no clipping in your screen shot.
L. Spiro