From: Brian Paul Date: Thu, 25 Aug 2005 22:09:43 +0000 (+0000) Subject: fix comment and #if test X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=713635adef160b6dffaa929a00bfd72703f0b873;p=mesa.git fix comment and #if test --- diff --git a/progs/demos/readpix.c b/progs/demos/readpix.c index c340e132bee..75ba45c1e5f 100644 --- a/progs/demos/readpix.c +++ b/progs/demos/readpix.c @@ -186,11 +186,12 @@ Display( void ) else { /* clear the temporary image to white (helpful for debugging */ memset(TempImage, 255, ImgWidth * ImgHeight * 4); -#if 0 - /* you might use this when debugging */ +#if 1 glReadPixels(APosX, APosY, ImgWidth, ImgHeight, ReadFormat, ReadType, TempImage); + (void) ComplexReadPixels; #else + /* you might use this when debugging */ ComplexReadPixels(APosX, APosY, ImgWidth, ImgHeight, ReadFormat, ReadType, TempImage); #endif