Bug 25706 - Broken rendering when compiling with --enable-debug
Summary: Broken rendering when compiling with --enable-debug
Status: RESOLVED DUPLICATE of bug 30629
Alias: None
Product: Mesa
Classification: Unclassified
Component: Mesa core (show other bugs)
Version: git
Hardware: x86 (IA32) Linux (All)
: medium normal
Assignee: mesa-dev
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-12-18 05:16 UTC by Fabio Pedretti
Modified: 2010-11-17 04:52 UTC (History)
0 users

See Also:
i915 platform:
i915 features:


Attachments

Description Fabio Pedretti 2009-12-18 05:16:38 UTC
I noticed that when compiling mesa with --enable-debug some maps of the sauerbraten game are visually corrupted (missing walls), e.g:
http://img692.imageshack.us/img692/8545/sauercorruption.png
while when compiling without it works fine. This happens especially with "maps->douze". I also get warnings like:

Mesa warning: glDraw[Range]Elements(start 6912, end 8677, count 3642, type 0x1403, indices=0x843c)
	end is out of bounds (max=90)  Element Buffer 11 (size 104640)
	This should probably be fixed in the application.
Mesa warning: glDraw[Range]Elements(start 6912, end 8677, count 3642, type 0x1403, indices=0x843c)
	index=8677 is out of bounds (max=90)  Element Buffer 11 (size 104640)
	Skipping the glDrawRangeElements() call

This is similar to bug #22743 and probably it's a sauerbraten bug, but it's strange that I get different rendering when enabling or disabling the --enable-debug flag.

Tested with master, 7.7 and 7.6 branches, with: 
GL_RENDERER   = Mesa DRI R300 (RV530 71C5) 20090101 x86/MMX/SSE2 TCL
Comment 1 Fabio Pedretti 2010-11-17 04:52:38 UTC

*** This bug has been marked as a duplicate of bug 30629 ***


Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.