mirror of
https://github.com/coop-deluxe/sm64coopdx.git
synced 2024-11-22 03:55:11 +00:00
Removes the cursor from view when on the game's window.
This commit is contained in:
parent
7e97699076
commit
0c10f9eacc
1 changed files with 1 additions and 0 deletions
|
@ -80,6 +80,7 @@ const SDL_Scancode scancode_rmapping_nonextended[][2] = {
|
|||
|
||||
static void gfx_sdl_init(void) {
|
||||
SDL_Init(SDL_INIT_VIDEO);
|
||||
SDL_ShowCursor(SDL_DISABLE); // Removes the cursor from view when upon the game's window.
|
||||
|
||||
SDL_GL_SetAttribute(SDL_GL_DEPTH_SIZE, 24);
|
||||
SDL_GL_SetAttribute(SDL_GL_DOUBLEBUFFER, 1);
|
||||
|
|
Loading…
Reference in a new issue