simplify pool_blit_direct()

pull/1181/head
nick black 4 years ago committed by Nick Black
parent 11bbf3c4ff
commit 0cba073cc9

@ -967,11 +967,6 @@ pool_blit_direct(egcpool* pool, cell* c, const char* gcluster, int bytes, int co
if(bytes < 0 || cols < 0){
return -1;
}
if(bytes <= 1){
assert(cols < 2);
c->gcluster = htole((uint32_t)*gcluster);
return bytes;
}
if(bytes <= 4){
c->gcluster = 0;
memcpy(&c->gcluster, gcluster, bytes);

Loading…
Cancel
Save