From: Eric P. <eri...@di...> - 2002-03-14 21:22:01
|
It seems that OSMesa16 does not like glCopyPixels. I've tried this on regular Mesa and it does not pose a problem. If your buffer is of size WIDTHxHEIGHT, doing: glCopyPixels( 0, 0, WIDTH, HEIGHT, GL_COLOR ); will segfault. In fact, in my tests WIDTH and HEIGHT were 128, and passing a value as low as 10 for the width and height of the copy would result in a sefgault. Any clues as to what is going wrong? I'm attaching an example program & Makefile which reproduces this. PS: Setting the raster position beforehand does not help. Thanks for having a look, -- eric plante, software developer, discreet |