Przeglądaj źródła

Another locked drawarrys fix

tags/mesa_4_1
Keith Whitwell 25 lat temu
rodzic
commit
cbf9731119
1 zmienionych plików z 1 dodań i 3 usunięć
  1. 1
    3
      src/mesa/tnl/t_array_api.c

+ 1
- 3
src/mesa/tnl/t_array_api.c Wyświetl plik

/* $Id: t_array_api.c,v 1.19 2001/09/14 17:00:42 brianp Exp $ */
/* $Id: t_array_api.c,v 1.20 2001/11/22 09:23:36 keithw Exp $ */


/* /*
* Mesa 3-D graphics library * Mesa 3-D graphics library
start = ctx->Array.LockFirst; start = ctx->Array.LockFirst;
if (start + count > (GLint) ctx->Array.LockCount) if (start + count > (GLint) ctx->Array.LockCount)
count = ctx->Array.LockCount - start; count = ctx->Array.LockCount - start;
if (start >= count)
return;


/* Locked drawarrays. Reuse any previously transformed data. /* Locked drawarrays. Reuse any previously transformed data.
*/ */

Ładowanie…
Anuluj
Zapisz