Better return the right pointer.

This commit is contained in:
Henrik Rydgård 2018-06-01 22:05:21 +02:00
parent 9485b04914
commit 2917f3ffbb

View File

@ -482,7 +482,7 @@ public:
case NativeObject::RENDER_MANAGER:
return (uintptr_t)&renderManager_;
case NativeObject::NULL_IMAGEVIEW:
return (uintptr_t)GetNullTexture();
return (uintptr_t)GetNullTexture()->GetImageView();
default:
Crash();
return 0;