szellmann / visionaray

A C++-based, cross platform ray tracing library
https://vis.uni-koeln.de/visionaray.html
MIT License
429 stars 37 forks source link

texture_iface::resize() should also resize the underlying data vector #5

Closed szellmann closed 8 years ago

szellmann commented 8 years ago

In addition to just updating its own state, texture_iface should also resize the data vector stored in texture_base - i.e. if texture_iface is derived from texture_base, and not from texture_ref_base. Not sure how to implement this though, I'd rather not have a resize() in texture_ref_base.

szellmann commented 8 years ago

Fixed via a45c562