[GEM-dev] Gem patches to fix DV4L bugs and crashes

IOhannes m zmoelnig zmoelnig at iem.at
Tue Feb 20 09:10:00 CET 2007


Ivica Ico Bukvic wrote:
> Apologies for an apparent salvo of e-mails. Here's one proposed option.
> Hasn't been tested thoroughly but so far it appears to work ok:
> 
> --- GemGL.h~    2006-09-26 05:56:33.000000000 -0400
> +++ GemGL.h     2007-02-19 17:09: 03.000000000 -0500
> @@ -53,6 +53,9 @@
>   * so, if your system lacks GL/glext.h,
>   * just undefine the appropriate line in Base/configNT.h
>   */
> +
> +#define GL_GLEXT_VERSION 21
> +
>  #  if  (!defined GL_GLEXT_VERSION)
>  #   include <GL/glext.h>
>  #  endif /* GL_GLEXT_VERSION */
> 
> (namely by adding GL_GLEXT_VERSION 21 which corresponds to OpenGL 1.5)
> 
> This would still keep ARB enabled in those files, rather than totally
> obliterating them...
> 
> This is however a brute force fix for buggy fglrx drivers. Would it be
> perhaps possible to have a configure option, i.e. --force-gl-1.5 or

yes it is a good idea.
i will add something like this.

mfg.asdr
IOhannes




More information about the GEM-dev mailing list