Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
lightmanLP committed Dec 15, 2024
1 parent bbcf0f9 commit 30fc337
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/graphic/Fast3D/gfx_dxgi.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -571,7 +571,7 @@ static bool gfx_dxgi_is_mouse_captured() {
fprintf(stderr, "Error: failed to fetch cursor info\n");
return false;
}
return (ci.flags > 0); // if cursor not showing
return (ci.flags != 1); // if cursor not showing
}

static void gfx_dxgi_set_fullscreen(bool enable) {
Expand Down

0 comments on commit 30fc337

Please sign in to comment.