[Mesa-dev] [PATCH 1/4] mesa: Put extern "C" guards in renderbuffer.h.

Martin Steigerwald Martin at lichtvoll.de
Fri Feb 1 11:53:07 PST 2013


Am Dienstag, 29. Januar 2013 schrieb Kenneth Graunke:
> I need to use this from C++ code.
> 
> Signed-off-by: Kenneth Graunke <kenneth at whitecape.org>
> ---
>  src/mesa/main/renderbuffer.h | 8 +++++++-
>  1 file changed, 7 insertions(+), 1 deletion(-)
> 
> diff --git a/src/mesa/main/renderbuffer.h b/src/mesa/main/renderbuffer.h
> index 5495ae1..c450b33 100644
> --- a/src/mesa/main/renderbuffer.h
> +++ b/src/mesa/main/renderbuffer.h
> @@ -29,6 +29,10 @@
[…]

Tested-By: Martin Steigerwald <martin at lichtvoll.de>

Spell effects are fast in Planeshift with those four patches applied to

OpenGL version string: 3.0 Mesa 9.2-devel (git-a8a5055)


But since testing the first version of this patch and now with these four 
patches as well I am getting strange triangles where there would be grass or 
rock or so. See:

Bug 60172 - Planeshift: triangles where grass would be
https://bugs.freedesktop.org/60172


This may be or may not be related to this patch. It could also be a generic 
mesa 9.x issue, since I played Planeshift with 8.0.5 mesa debian packages 
before. Or it might be an issue that I now use GLSL. GLSL and Planeshift 
didn´t play well together with Mesa 8.0.5, thus I had an option in 
Planeshift to disable it. But with Mesa 9 and the CopyTextSubImage BLORB 
patch Planeshift didn´t start anymore as long as this option was present, 
thus I removed it so that it uses GLSL, which works way better in Mesa 9.

Thanks,
-- 
Martin 'Helios' Steigerwald - http://www.Lichtvoll.de
GPG: 03B0 0D6C 0040 0710 4AFA  B82F 991B EAAC A599 84C7


More information about the mesa-dev mailing list