Valgrind error patch in gr_RenderInfo.cpp

From: Hubert Figuiere <hfiguiere_at_teaser.fr>
Date: Sun Aug 15 2004 - 04:37:25 CEST

Hi,

I'm posting this patch, so that people (mostly Tomas) review it because
I'm not familiar with the inner guts of the code.

Basically, the if() was reading outside the array bounds so I added a
condition to prevent this and makes Valgrind happy (complaining about
test depending on unitilized data).

If you feel it is safe, either commit it or let me know.

Thanks.

Hub

-- 
Crazy French - http://www.figuiere.net/hub/

Received on Sun Aug 15 04:27:04 2004

This archive was generated by hypermail 2.1.8 : Sun Aug 15 2004 - 04:27:04 CEST