Re: [GtkGLExt] [gtkglext] Fix unitalized values returned from glx_attrib_list_from_attrib_list (#2)



Hi Jeff,

Thanks a lot for the fix! I should have noticed this by myself in the
first place.

I'd like to see a few changes before I put the changes into my tree. The
patch is actually three patches that

  - rename the variable i to attrib_index,
  - replace the terminating 0 by 'None', and
  - fix the index bug by introducing glx_attrib_index.

I don't mind the changes, but would like to have them split into
separate patches; preferably in the order above. For the commit message
please stay within 78 characters for the headline, and 74 characters for
any detailed descriptions.

Thanks and best regards,
Thomas

Am Sonntag, den 01.07.2012, 12:43 -0700 schrieb jeff:
> Fix for an issue causing me to get the following error in the examples
> 
> (lt-gears:1050): GdkGLExt-CRITICAL **: gdk_x11_gl_config_new_for_screen: assertion `impl != NULL' failed
> *** No appropriate OpenGL-capable visual found.
> 
> 
> You can merge this Pull Request by running:
> 
>   git pull https://github.com/mpjeff/gtkglext master
> 
> Or you can view, comment on it, or merge it online at:
> 
>   https://github.com/tdz/gtkglext/pull/2
> 
> -- Commit Summary --
> 
> * Fix skipped parameters leaving unitialized values in glx_attrib_list_from_attrib_list
> 
> -- File Changes --
> 
> M gdk/x11/gdkglconfig-x11.c (25)
> 
> -- Patch Links --
> 
>   https://github.com/tdz/gtkglext/pull/2.patch
>   https://github.com/tdz/gtkglext/pull/2.diff
> 
> ---
> Reply to this email directly or view it on GitHub:
> https://github.com/tdz/gtkglext/pull/2

-- 
GnuPG:          http://tdz.users.sourceforge.net/tdz.asc
Fingerprint:    16FF F599 82F8 E5AA 18C6 5220 D9DA D7D4 4EF1 DF08

jsapigen - A free glue-code generator for Mozilla SpiderMonkey. See
http://jsapigen.sourceforge.net for more information.

Attachment: signature.asc
Description: This is a digitally signed message part



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]