mirror of
https://github.com/panda3d/panda3d.git
synced 2025-09-30 00:32:57 -04:00
fix compilation error
This commit is contained in:
parent
1710c6998d
commit
2895c33f42
@ -328,7 +328,7 @@ fetch_buffer(double time) {
|
|||||||
vision_cat.error() << "Failed to dequeue buffer!\n";
|
vision_cat.error() << "Failed to dequeue buffer!\n";
|
||||||
return NULL;
|
return NULL;
|
||||||
}
|
}
|
||||||
nassertv(vbuf.index < _bufcount);
|
nassertr(vbuf.index < _bufcount, NULL);
|
||||||
size_t bufsize = _buflens[vbuf.index];
|
size_t bufsize = _buflens[vbuf.index];
|
||||||
size_t old_bpl = _format->fmt.pix.bytesperline;
|
size_t old_bpl = _format->fmt.pix.bytesperline;
|
||||||
size_t new_bpl = _size_x * 3;
|
size_t new_bpl = _size_x * 3;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user