Re: DirectDraw X11 with depth-conversion problem

2000-06-15 Thread Huw D M Davies
On Wed, Jun 14, 2000 at 11:00:21PM +0200, Lionel Ulmer wrote: > BTW, by reading the man page for XCreateImage, I found this : > > 'Note that when the image is created using XCreateImage, XGetImage, > or XSubImage, the destroy procedure that the XDestroyImage function > calls frees both the i

Re: DirectDraw X11 with depth-conversion problem

2000-06-15 Thread Ove Kaaven
On Thu, 15 Jun 2000, Huw D M Davies wrote: > On Wed, Jun 14, 2000 at 11:00:21PM +0200, Lionel Ulmer wrote: > > BTW, by reading the man page for XCreateImage, I found this : > > > > 'Note that when the image is created using XCreateImage, XGetImage, > > or XSubImage, the destroy procedure tha

Re: DirectDraw X11 with depth-conversion problem

2000-06-14 Thread Lionel Ulmer
On Wed, Jun 14, 2000 at 02:24:34PM +0200, Ove Kaaven wrote: > In dlls/ddraw/ddraw/x11.c, the create_ximage function, we have > > int bpp = PFGET_BPP(This->d.directdraw_pixelformat); > > and this value is subsequently multiplied with the width and height values > in order to create an XImage.

DirectDraw X11 with depth-conversion problem

2000-06-14 Thread Ove Kaaven
In dlls/ddraw/ddraw/x11.c, the create_ximage function, we have int bpp = PFGET_BPP(This->d.directdraw_pixelformat); and this value is subsequently multiplied with the width and height values in order to create an XImage. But this XImage is the destination of any depth-conversion, so if there