Commit 634a33b
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 608d4fb commit 634a33b
1 file changed
+4
-9
lines changedLines changed: 4 additions & 9 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
368 | 368 | | |
369 | 369 | | |
370 | 370 | | |
371 | | - | |
372 | | - | |
373 | | - | |
374 | | - | |
| 371 | + | |
| 372 | + | |
375 | 373 | | |
376 | 374 | | |
377 | 375 | | |
| |||
524 | 522 | | |
525 | 523 | | |
526 | 524 | | |
527 | | - | |
528 | | - | |
529 | | - | |
530 | | - | |
531 | | - | |
| 525 | + | |
| 526 | + | |
532 | 527 | | |
533 | 528 | | |
534 | 529 | | |
| |||
0 commit comments