[Mesa-dev] [PATCH] Enable display list support for glClearBuffer functions

Anuj Phogat anuj.phogat at gmail.com
Tue Dec 13 14:34:57 PST 2011


On Tue 13 Dec 2011 12:49:28 PM PST, Ian Romanick wrote:
> On 12/13/2011 12:01 PM, Anuj Phogat wrote:
>> Enabling display list support for glClearBuffer functions with minor
>> fixes
>
> There's also a #if 0 block in that file that should be removed.  This
> is a case where 'git blame' is useful.  doing 'git blame
> src/mesa/main/dlist.c' shows that all of those lines were added in
> commit 05fb922e.  Looking at commit 05fb922e shows the #if 0 block.
The #if 0 block is already removed in some previous commit. 
 code snippet from src/mesa/main/dlist.c, line 10293-10297: 
   /* GL 3.0 */
   SET_ClearBufferiv(table, save_ClearBufferiv);
   SET_ClearBufferuiv(table, save_ClearBufferuiv);
   SET_ClearBufferfv(table, save_ClearBufferfv);
   SET_ClearBufferfi(table, save_ClearBufferfi);




More information about the mesa-dev mailing list