Examples: Cast to ImTextureID instead of void* when assigning to TexId. Applied to all examples. (#2015)

This commit is contained in:
omar
2018-08-09 17:49:48 +02:00
parent 9c0805010f
commit 421dc19798
10 changed files with 17 additions and 14 deletions

View File

@@ -190,7 +190,7 @@ bool ImGui_Marmalade_CreateDeviceObjects()
g_FontTexture->Upload();
// Store our identifier
io.Fonts->TexID = (void *)g_FontTexture;
io.Fonts->TexID = (ImTextureID)g_FontTexture;
return true;
}