[Xr] Help: Render error on XrFormatRGB32

Soorya Kuloor skuloor at verano.com
Fri May 2 11:39:21 PDT 2003


Hi,

I am a newbie trying to turn off anti-aliasing in Xr by trying to use
XrFormatRGB32 for the target suface (is this the right way to do it)?

To test this I modified xrknockout.c under xrtest module to use
XrFormatRGB32 for the surfaces instead of XrFormatARGB32. When I run the
resulting program I get the following error.

X Error of failed request:  BadMatch (invalid parameter attributes)
  Major opcode of failed request:  153 (RENDER)
  Minor opcode of failed request:  4 (RenderCreatePicture)
  Serial number of failed request:  22
  Current serial number in output stream:  214

Can anyone help?

Thanks,
-- 
Soorya Kuloor - VERANO 
180, 3015 - 5th Avenue N.E. 
Calgary, Alberta, Canada T2A 6T7 
Tel: (403) 299 4851
Fax: (403) 272 2299
Email: skuloor at verano.com






More information about the cairo mailing list