MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <16486.6071.827701.592013 at soggy.deldotd.com> Date: Sat, 27 Mar 2004 16:09:27 -0800 To: lablgtk at kaba.or.jp Subject: logicop problems: FIXED From: briand at aracnet.com FIXED ! The problem was the difference between index logic and color logic. Notice that in the patch logic_op and index_logic_op are actually the same. This is as per OpenGL usage. Simply apply the patch to lablg-1.00. Rebuild as required. In my particular case I did make lib; make install Then make sure and rebuild lablgtk2 !! Enjoy rgba logical operations :-) Brian P.S. I don't supposed lablgl has support for overlay planes, does it ? :-) --- ./src/gl.ml 2001-09-30 19:59:12.000000000 -0700 +++ ../lablgl-1.00/src/gl.ml 2004-03-27 15:53:08.000000000 -0800 @@ -54,6 +54,7 @@ |`clip_plane3|`clip_plane4|`clip_plane5|`color_material|`cull_face |`depth_test|`dither|`fog|`light0|`light1|`light2|`light3|`light4|`light5 |`light6|`light7|`lighting|`line_smooth|`line_stipple|`logic_op + |`index_logic_op |`color_logic_op |`map1_color_4|`map1_index|`map1_normal|`map1_texture_coord_1 |`map1_texture_coord_2|`map1_texture_coord_3|`map1_texture_coord_4 |`map1_vertex_3|`map1_vertex_4|`map2_color_4|`map2_index|`map2_normal diff -u -r ./src/gl.mli ../lablgl-1.00/src/gl.mli --- ./src/gl.mli 2001-09-30 19:59:13.000000000 -0700 +++ ../lablgl-1.00/src/gl.mli 2004-03-27 15:52:44.000000000 -0800 @@ -43,6 +43,7 @@ |`clip_plane3|`clip_plane4|`clip_plane5|`color_material|`cull_face |`depth_test|`dither|`fog|`light0|`light1|`light2|`light3|`light4|`light5 |`light6|`light7|`lighting|`line_smooth|`line_stipple|`logic_op + |`index_logic_op |`color_logic_op |`map1_color_4|`map1_index|`map1_normal|`map1_texture_coord_1 |`map1_texture_coord_2|`map1_texture_coord_3|`map1_texture_coord_4 |`map1_vertex_3|`map1_vertex_4|`map2_color_4|`map2_index|`map2_normal diff -u -r ./src/gl_tags.var ../lablgl-1.00/src/gl_tags.var --- ./src/gl_tags.var 2003-10-01 03:09:03.000000000 -0700 +++ ../lablgl-1.00/src/gl_tags.var 2004-03-27 15:59:54.000000000 -0800 @@ -63,6 +63,8 @@ line_smooth line_stipple logic_op +index_logic_op +color_logic_op map1_color_4 map1_index map1_normal