Skip to content

Commit

Permalink
Fix Windows warning
Browse files Browse the repository at this point in the history
Signed-off-by: Michael Carroll <[email protected]>
  • Loading branch information
mjcarroll committed Aug 28, 2023
1 parent 69f4cdf commit e22d978
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/plugins/minimal_scene/MinimalSceneRhiOpenGL.cc
Original file line number Diff line number Diff line change
Expand Up @@ -144,7 +144,8 @@ std::string RenderThreadRhiOpenGL::Initialize()
void RenderThreadRhiOpenGL::Update(rendering::CameraPtr _camera)
{
const GLuint glId = this->dataPtr->engineToQtInterface->TextureId(_camera);
this->dataPtr->texturePtr = reinterpret_cast<void *>(glId);
this->dataPtr->texturePtr = reinterpret_cast<void *>(
static_cast<intptr_t>(glId));
}

/////////////////////////////////////////////////
Expand Down

0 comments on commit e22d978

Please sign in to comment.