Hello

I'm browsing the SVN repository and i've just found this
comment by hansfbaier on
/back/trunk/Source/cairo/XGCairoGlitzSurface.m :

"fixed glitz api change (but does not work, because I don't
  know how to retrieve a proper VisualID for the display)"

I guess it's about this piece of code :

dformat = glitz_glx_find_drawable_format_for_visual(
  GSWINDEVICE->display,
  GSWINDEVICE->screen,
  // GLITZ_FORMAT_DOUBLEBUFFER_MASK,
  // &templ,
  DefaultVisual(GSWINDEVICE->display, GSWINDEVICE->screen)
); // FIXME: this does not work

I suggest :

  DefaultVisual(GSWINDEVICE->display, GSWINDEVICE->screen)->visualid

I hope this could help.

regards

Xavier

PS : what about a win32-cairo backend ? or a win32-cairo-glitz backend ?
thks



_______________________________________________
Gnustep-dev mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/gnustep-dev

Reply via email to