mirror of
https://github.com/dankamongmen/notcurses
synced 2025-03-10 01:29:05 -04:00
bgra_to_rgba(): remove obsolete assert #566
This commit is contained in:
parent
4446bbdf06
commit
14fa7c350d
@ -96,7 +96,6 @@ void* bgra_to_rgba(const void* data, int rows, int rowstride, int cols){
|
||||
return NULL;
|
||||
}
|
||||
//fprintf(stderr, "ROWS: %d\n", rows);
|
||||
assert(rows % 2 == 0); // FIXME handle odd number of rows
|
||||
uint32_t* ret = static_cast<uint32_t*>(malloc(rowstride * rows));
|
||||
if(ret){
|
||||
for(int y = 0 ; y < rows ; ++y){
|
||||
|
Loading…
x
Reference in New Issue
Block a user