Skip to content

Commit

Permalink
Probably fixing Linux build.
Browse files Browse the repository at this point in the history
  • Loading branch information
nicolasnoble committed Nov 17, 2024
1 parent b5751bd commit 7c03637
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/gui/widgets/shader-editor.cc
Original file line number Diff line number Diff line change
Expand Up @@ -711,7 +711,7 @@ void PCSX::Widgets::ShaderEditor::renderWithImgui(GUI *gui, ImTextureID textureI
if (L.isfunction()) {
L.copy(-2);
L.setfenv();
L.push(static_cast<lua_Number>(reinterpret_cast<uintptr_t>(textureID)));
L.push(static_cast<lua_Number>(textureID));
L.push(srcSize.x);
L.push(srcSize.y);
L.push(dstSize.x);
Expand Down Expand Up @@ -752,7 +752,7 @@ void PCSX::Widgets::ShaderEditor::renderWithImgui(GUI *gui, ImTextureID textureI
}

void PCSX::Widgets::ShaderEditor::imguiCB(const ImDrawList *parentList, const ImDrawCmd *cmd) {
GLuint textureID = static_cast<GLuint>(reinterpret_cast<uintptr_t>(cmd->TextureId));
GLuint textureID = static_cast<GLuint>(cmd->TextureId);

GLfloat projMtx[4][4];
if (m_imguiProjMtxLoc == -1) {
Expand Down

0 comments on commit 7c03637

Please sign in to comment.