[prev in list] [next in list] [prev in thread] [next in thread] 

List:       dri-users
Subject:    Re: [Dri-users] glDrawElement() INDEX Array problem?
From:       "Ezequiel Carson" <ezequiel_carson () hotmail ! com>
Date:       2004-11-30 23:44:22
Message-ID: BAY14-F7172320CA215EB0068A328CBE0 () phx ! gbl
[Download RAW message or body]

:(, its strange.  i changed the code in order to use glDrawRangeElement() 
and im getting the same error.

something is wrong here :(

if i put this:

glDrawElements(GL_TRIANGLES,1092,GL_UNSIGNED_INT,&mesh->GetIndexBuffer()[0]);

it works fine
but.. if i modify the index of the vector.

glDrawElements(GL_TRIANGLES,1092,GL_UNSIGNED_INT,&mesh->GetIndexBuffer()[1000]);

my program dies.

i thougth  GlDrawElements was not able to read the position number 1000 of 
the vector, but i've tried with a simple for() sentence and i got the 
correct vertex information,stored in the container :(


ezequiel.



>From: Roland Scheidegger <rscheidegger_lists@hispeed.ch>
>To: Ezequiel Carson <ezequiel_carson@hotmail.com>
>CC: alexdeucher@gmail.com, dri-users@lists.sourceforge.net
>Subject: Re: [Dri-users] glDrawElement() INDEX Array problem?
>Date: Wed, 01 Dec 2004 00:07:51 +0100
>
>Ezequiel Carson wrote:
>>yes i tried and i got my X totally freezed.
>>
>>the bt command is showing this:
>
>Well the bt of the sse exception isn't very helpful unfortunately.
>If it freezed when when you used gdb to catch the segfault, that probably 
>means the segfault happened somewhere when the hardware lock was taken. I'm 
>  not sure you can do something to get this debuggable on a single machine, 
>the easiest way would be to do this with a second box (with ssh). I'm not 
>sure though why that could happen, the driver should only take the lock 
>when it actually needs it and not all the time.
>
>Roland
>
>
>
>
>-------------------------------------------------------
>SF email is sponsored by - The IT Product Guide
>Read honest & candid reviews on hundreds of IT Products from real users.
>Discover which products truly live up to the hype. Start reading now. 
>http://productguide.itmanagersjournal.com/
>--
>_______________________________________________
>Dri-users mailing list
>Dri-users@lists.sourceforge.net
>https://lists.sourceforge.net/lists/listinfo/dri-users

_________________________________________________________________
Express yourself instantly with MSN Messenger! Download today it's FREE! 
http://messenger.msn.click-url.com/go/onm00200471ave/direct/01/



-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now. 
http://productguide.itmanagersjournal.com/
--
_______________________________________________
Dri-users mailing list
Dri-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dri-users
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic