Commit b8c5840
committed
vtkOpenGLGPUVolumeRayCastMapper: handle when table size increases
Because the texture table size is now dynamic, it's no longer sufficient to only
allocate it when the pointer is NULL. If the texture table has previously been
allocated and the computed table size increases, it's necessary to reallocate
the table, otherwise a memory error occurs.1 parent ea39dd4 commit b8c5840
1 file changed
+4
-9
lines changedLines changed: 4 additions & 9 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
367 | 367 | | |
368 | 368 | | |
369 | 369 | | |
370 | | - | |
371 | | - | |
372 | | - | |
373 | | - | |
| 370 | + | |
| 371 | + | |
374 | 372 | | |
375 | 373 | | |
376 | 374 | | |
| |||
523 | 521 | | |
524 | 522 | | |
525 | 523 | | |
526 | | - | |
527 | | - | |
528 | | - | |
529 | | - | |
530 | | - | |
| 524 | + | |
| 525 | + | |
531 | 526 | | |
532 | 527 | | |
533 | 528 | | |
| |||
0 commit comments