Initialize pixel data before glReadPixels().

This commit is contained in:
Ole André Vadla Ravnås 2009-05-18 17:30:36 +02:00 committed by Neil Roberts
parent 9cf8410b0f
commit ab5a10768c

View File

@ -373,7 +373,7 @@ _clutter_do_pick (ClutterStage *stage,
ClutterPickMode mode)
{
ClutterMainContext *context;
guchar pixel[4];
guchar pixel[4] = { 0xff, 0xff, 0xff, 0xff };
GLint viewport[4];
CoglColor white;
guint32 id;