Commit cff4268e authored by w4t's avatar w4t

GetImTextureID helper for GLuint

parent befcb8c7
Pipeline #65 canceled with stages
......@@ -122,6 +122,10 @@ static ImTextureID GetImTextureID(ofBaseHasTexture& hasTexture)
return GetImTextureID(hasTexture.getTexture());
}
static ImTextureID GetImTextureID(GLuint glID)
{
return (ImTextureID)(uintptr_t)glID;
}
//--------------------------------------------------------------
template<typename ParameterType>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment