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

Ivica Ico Bukvic ico.bukvic at gmail.com
Mon Feb 19 23:20:05 CET 2007


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
something like that which would define this variable in this particular
place? As I mentioned earlier I am not too familiar with the configure
scripts so if this is to be ok'd by Iohannes and others, I would greatly
appreciate it if someone else did the part of integrating it.

Many thanks!

Best wishes,

Ico
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.puredata.info/pipermail/gem-dev/attachments/20070219/76e88f5e/attachment.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: GemGL.h.patch
Type: text/x-patch
Size: 346 bytes
Desc: not available
URL: <http://lists.puredata.info/pipermail/gem-dev/attachments/20070219/76e88f5e/attachment.bin>


More information about the GEM-dev mailing list