code_junkie

the returned SDL_cursor from SDL_GetCursor() can't be used with SDL_GetMouseState()

Nov 14th, 2011
134
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.20 KB | None | 0 0
  1. int mstate, mx, my = 0;
  2. mstate, mx, my = SDL_GetCursor().SDL_GetMouseState();
  3.  
  4. mstate, mx, my = SDL_GetCursor()->SDL_GetMouseState();
  5.  
  6. mstate, mx, my = SDL_GetCursor()->SDL_GetMouseState();
Add Comment
Please, Sign In to add comment