mirror of
https://github.com/Genymobile/scrcpy.git
synced 2025-08-10 18:18:51 +00:00
Merge debb23461b
into 8bde814155
This commit is contained in:
commit
67436d8356
2 changed files with 2 additions and 2 deletions
|
@ -22,7 +22,7 @@ struct sc_display {
|
|||
|
||||
struct sc_opengl gl;
|
||||
#ifdef SC_DISPLAY_FORCE_OPENGL_CORE_PROFILE
|
||||
SDL_GLContext *gl_context;
|
||||
SDL_GLContext gl_context;
|
||||
#endif
|
||||
|
||||
bool mipmaps;
|
||||
|
|
|
@ -85,7 +85,7 @@ sc_mouse_capture_set_active(struct sc_mouse_capture *mc, bool capture) {
|
|||
// Workaround for SDL bug on macOS:
|
||||
// <https://github.com/libsdl-org/SDL/issues/5340>
|
||||
if (capture) {
|
||||
int mouse_x, mouse_y;
|
||||
float mouse_x, mouse_y;
|
||||
SDL_GetGlobalMouseState(&mouse_x, &mouse_y);
|
||||
|
||||
int x, y, w, h;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue