Jump to content

  • Log In with Google      Sign In   
  • Create Account


#Actualunbird

Posted 17 September 2013 - 09:42 AM

Yeah, definitively sounds like some size or offset mismatch. To locate such bugs dump every rectangle/coords in question online or to a log-file: swapchain and/or texture dimensions, windows position and client area, mouse coords etc. Drawing the mouse manually with some sprite, making a Windows PrintScreen screenshot and analyzing images in a image editor to compare coordinates helps, too.

Edit: Though I consider it unlikely it could be a driver issue, actually. Either use the reference rasterizer (D3D_DRIVER_TYPE_REFERENCE) on the problematic hardware (will need D3D SDK installation) or - if possible - D3D_DRIVER_TYPE_WARP. The latter won't need a SDK install but depending on what D3D11.x you're using, you won't have the full D3D 11 feature set. If it works with either of these driver types, then the driver on the target hardware is bad.

#2unbird

Posted 17 September 2013 - 09:41 AM

Yeah, definitively sounds like some size or offset mismatch. To locate such bugs dump every rectangle/coords in question online or to a log-file: swapchain and/or texture dimensions, windows position and client area, mouse coords etc. Drawing the mouse manually with some sprite, making a Windows PrintScreen screenshot and analyzing images in a image editor to compare coordinates helps, too.

Edit: Though I consider it unlikely it could be a driver issue, actually. Either use the reference rasterizer (D3D_DRIVER_TYPE_REFERENCE) on the problematic hardware (will need D3D SDK installation) or - if possible - D3D_DRIVER_TYPE_WARP. The latter won't need a SDK install but depending on what D3D11.x you're using, you won't have the full D3D 11 feature set.

#1unbird

Posted 17 September 2013 - 09:29 AM

Yeah, definitively sounds like some size or offset mismatch. To locate such bugs dump every rectangle/coords in question online or to a log-file: swapchain and/or texture dimensions, windows position and client area, mouse coords etc. Drawing the mouse manually with some sprite, making a Windows PrintScreen screenshot and analyzing images in a image editor to compare coordinates helps, too.


PARTNERS