Jump to content

  • Log In with Google      Sign In   
  • Create Account


MaacK

Member Since 05 Oct 2006
Offline Last Active Mar 05 2013 02:57 AM

#4902607 [SlimDX] Text Rendering Issue

Posted by MaacK on 14 January 2012 - 03:10 AM

I see..

What I'm looking at in the background texture is that where there's a horizontal row of pixels missing from the text, there's also one missing from the repeating background texture, which you can see if you look closely. What that suggests to me is that your back buffer is not the same size as your window client area.

You can easily verify if I'm correct by running it in full screen mode instead of windowed.


Got it.

For anyone else:
PresentParams.BackBufferHeight = form.ClientRectangle.Height;
PresentParams.BackBufferWidth = form.ClientRectangle.Width;
Don't use:
PresentParams.BackBufferHeight = form.Height;
PresentParams.BackBufferWidth = form.Width;

Silly mistake.. thanks ! Posted Image Posted Image


PARTNERS