Browse Source

use static cast

Jeffery Myers 9 months ago
parent
commit
e605b2f55d
1 changed files with 1 additions and 1 deletions
  1. 1 1
      rlImGui.cpp

+ 1 - 1
rlImGui.cpp

@@ -212,7 +212,7 @@ static void ImGuiRenderTriangles(unsigned int count, int indexStart, const ImVec
     if (count < 3)
     if (count < 3)
         return;
         return;
 
 
-    unsigned int textureId = unsigned int (texturePtr);
+    unsigned int textureId = static_cast<unsigned int>(texturePtr);
 
 
     rlBegin(RL_TRIANGLES);
     rlBegin(RL_TRIANGLES);
     rlSetTexture(textureId);
     rlSetTexture(textureId);