File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -152,7 +152,7 @@ mainLoop window textures flag = unlessQuit do
152
152
Foreign. with (ImVec2 1 1 ) \ uv1Ptr ->
153
153
Foreign. with (ImVec4 1 1 1 1 ) \ tintColPtr ->
154
154
Foreign. with (ImVec4 1 1 1 1 ) \ bgColPtr ->
155
- Raw. imageButton openGLtextureID sizePtr uv0Ptr uv1Ptr ( - 1 ) bgColPtr tintColPtr
155
+ Raw. imageButton nullPtr openGLtextureID sizePtr uv0Ptr uv1Ptr bgColPtr tintColPtr
156
156
else
157
157
pure False
158
158
Original file line number Diff line number Diff line change @@ -111,11 +111,11 @@ gui texture = do
111
111
with (ImGui.Raw. ImVec4 1 1 1 1 ) \ tintColPtr ->
112
112
with (ImGui.Raw. ImVec4 1 1 1 1 ) \ bgColPtr ->
113
113
ImGui.Raw. imageButton
114
+ nullPtr
114
115
(snd texture)
115
116
sizePtr
116
117
uv0Ptr
117
118
uv1Ptr
118
- (- 1 )
119
119
bgColPtr
120
120
tintColPtr
121
121
You can’t perform that action at this time.
0 commit comments