diff options
Diffstat (limited to 'src/devices/video/vector.cpp')
| -rw-r--r-- | src/devices/video/vector.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/devices/video/vector.cpp b/src/devices/video/vector.cpp index e83fc5b190e..bc0d62c0244 100644 --- a/src/devices/video/vector.cpp +++ b/src/devices/video/vector.cpp @@ -102,7 +102,7 @@ static render_texture *get_vector_texture(float dx, float dy, float intensity) ibucket = TEXTURE_INTENSITY_BUCKETS; tex = &vectortex[ibucket][lbucket]; - if (tex->texture != NULL) + if (tex->texture != nullptr) return tex->texture; height = lbucket * VECTOR_WIDTH_DENOM / TEXTURE_LENGTH_BUCKETS; |
