comparison org/ear.org @ 25:f4c7260d397a

removed uint problem for Windows compilation
author Robert McIntyre <rlm@mit.edu>
date Fri, 18 Nov 2011 20:06:50 -0700
parents 616215c81d23
children cdf320cb5949
comparison
equal deleted inserted replaced
24:d51f1a2b4c30 25:f4c7260d397a
428 ALuint i; 428 ALuint i;
429 for (i = 1; i < data->numContexts; i++){ 429 for (i = 1; i < data->numContexts; i++){
430 syncContexts(data->contexts[0]->ctx , data->contexts[i]->ctx); 430 syncContexts(data->contexts[0]->ctx , data->contexts[i]->ctx);
431 } 431 }
432 432
433 if ((uint) samples > Device->UpdateSize){ 433 if ((ALuint) samples > Device->UpdateSize){
434 printf("exceeding internal buffer size; dropping samples\n"); 434 printf("exceeding internal buffer size; dropping samples\n");
435 printf("requested %d; available %d\n", samples, Device->UpdateSize); 435 printf("requested %d; available %d\n", samples, Device->UpdateSize);
436 samples = (int) Device->UpdateSize; 436 samples = (int) Device->UpdateSize;
437 } 437 }
438 438