Re: X11 BadValue errors on Solaris 10..
Bj|rn Englund <[email protected]> Thu, 29 Sep 2005 13:31:22 +0200
| Newsgroups | gmane.comp.video.ogle.devel |
|---|---|
| Message-ID | <[email protected]> |
Thu Sep 29 2005, [email protected] wrote: > x: -151 ffffff69, y: 0 0, w: 1023 3ff, h: 576 240 > X Error of failed request: BadValue (integer parameter out of range for > operation) > See the 'ffffff69'.. Any ideas? > That is -151, and that is where the left side of the image is placed relative to the window. The image is bigger than the window so to be centered the left side must be outside the left border of the window. I thought that this was allowed, and xlib/the xserver handles the clipping to the window size. Since it only fails for you with xshm, this could be a bug in your xlib/server. Could you just do one more test to make sure it really is this -151 that is the problem. In the XShmPutImage call, change window.video_area.x to 0. Then it should work and the picture should start at the left side of the window but be clipped at the right side. /Bj|rn