Better return the right pointer.

This commit is contained in:
Henrik Rydgård committed 2018-06-01 22:05:21 +02:00
1 parent 9485b04914
commit 2917f3ffbb
1 file changed
+1 -1
+1 -1
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;