http://bugs.freedesktop.org/show_bug.cgi?id=12502





------- Comment #8 from [EMAIL PROTECTED]  2007-09-23 09:54 PST -------
(In reply to comment #7)
> What are the parameters to glDrawRangeElements when you get the warning?

Here are a few examples:

glDrawRangeElements index out of buffer bounds: indexBytes=408 Size=12
ElementArrayBufferObj:
- RefCount: 2
- Name: 5
- Usage: 35040
- Access: 35002
- Pointer: (nil)
- Size: 12
- Data: 0x691840b0
- OnCard: 0
Mode=4, Start=0, End=135, Count=204, Type=5123

glDrawRangeElements index out of buffer bounds: indexBytes=3648 Size=12
ElementArrayBufferObj:
- RefCount: 2
- Name: 5
- Usage: 35040
- Access: 35002
- Pointer: (nil)
- Size: 12
- Data: 0x691840b0
- OnCard: 0
Mode=4, Start=0, End=1215, Count=1824, Type=5123

glDrawRangeElements index out of buffer bounds: indexBytes=192 Size=12
ElementArrayBufferObj:
- RefCount: 2
- Name: 5
- Usage: 35040
- Access: 35002
- Pointer: (nil)
- Size: 12
- Data: 0x691840b0
- OnCard: 0
Mode=4, Start=0, End=63, Count=96, Type=5123

> Why do you say ""In this example, indexBytes = 192, although it looks like it
> can take other "random" even values up to 5064.""?  Where does 5064 come 
> from? 
> What's random about it?

This error message appears many times, with a variety of different values of
indexBytes. 5064 is simply the largest example value.

> What happens if you disable the indexBytes check?

I'm sure that I had an "access violation" the last time I tried this. However,
this time I just saw the return of the "stretched text" corruption instead.


-- 
Configure bugmail: http://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
--
_______________________________________________
Dri-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/dri-devel

Reply via email to