Ronald Wendt
Member
Another odd one. I made a menu element that expands to selections. I use my own sprite via cursor_sprite for the mouse cursor. Both things are in use for about two years and worked well.
Until i placed them into a new room in which there are elements that use things like gpu_set_colorwriteenable (i mention this because it is the only unusual thing i can think of)
Now while it works fine in another room, here if i click twice on the element, the mouse cursor disappears. Its right back if i leave the room or restart it. Also the first click does not lead to this, only the second.
After the cursor is invisible, it still can be used. But you cannot see it.
I do not touch the mouse cursor in that room in any way other than checking for its position in some cases.
My question now is, are there any strange draw combinations, that can cause this ?
Until i placed them into a new room in which there are elements that use things like gpu_set_colorwriteenable (i mention this because it is the only unusual thing i can think of)
Now while it works fine in another room, here if i click twice on the element, the mouse cursor disappears. Its right back if i leave the room or restart it. Also the first click does not lead to this, only the second.
After the cursor is invisible, it still can be used. But you cannot see it.
I do not touch the mouse cursor in that room in any way other than checking for its position in some cases.
My question now is, are there any strange draw combinations, that can cause this ?