diff options
author | Patrick Rudolph <[email protected]> | 2015-05-12 20:07:09 +0200 |
---|---|---|
committer | Axel Davy <[email protected]> | 2015-08-21 22:21:46 +0200 |
commit | bb1c2c2aa3b15ee1fdf8b8085cc1ca9f8ef04ed9 (patch) | |
tree | c5b9615c0ef52f2fb33ffd9b5f4b1dde7e6ed7e5 /doxygen | |
parent | 3bcab9ba75b24bd6cabcd9d31165ad4c1fe9d75c (diff) |
st/nine: Fix GenerateMipSubLevels potential crash
For the case of D3DPOOL_MANAGED textures, This->base.resource can be NULL
at the start of the function. In This case, UploadSelf will take care
of the defining. Assign resource after the UploadSelf call
to prevent NULL pointer exception.
Reviewed-by: Axel Davy <[email protected]>
Signed-off-by: Patrick Rudolph <[email protected]>
Diffstat (limited to 'doxygen')
0 files changed, 0 insertions, 0 deletions