2 Commits
v2.0 ... v2.0.1

Author SHA1 Message Date
5400c4a8fc New version. 2018-10-25 20:40:30 +02:00
039ae5f134 Use real fullscreen. 2018-10-25 20:40:09 +02:00
2 changed files with 2 additions and 6 deletions

View File

@ -25,7 +25,7 @@ project(TrippyCube C CXX)
# Binary filename
set(TARGET_NAME "trippy-cube")
set(TARGET_VERSION "v2.0")
set(TARGET_VERSION "v2.0.1")
# Use DEBUG by default
if(NOT CMAKE_BUILD_TYPE)

View File

@ -73,11 +73,7 @@ int main(int argc, char *argv[]) {
}
if(args.fullscreen)
{
SDL_SetWindowBordered(window, SDL_FALSE);
SDL_SetWindowFullscreen(window,
SDL_WINDOW_FULLSCREEN_DESKTOP);
}
SDL_SetWindowFullscreen(window, SDL_WINDOW_FULLSCREEN);
SDL_SetRelativeMouseMode(SDL_TRUE);
SDL_GLContext glcontext = SDL_GL_CreateContext(window);